[merge] bzr up as alias for bzr update

John Arbash Meinel john at arbash-meinel.com
Tue Jul 18 22:44:18 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan (metze) Metzmacher wrote:
> Hi *,
> 
> cvs and svn both have 'up' as alias for 'update'.
> The attached bundle adds that to bzr too.
> 
> metze
> 

> 
> === modified file bzrlib/builtins.py
> --- bzrlib/builtins.py
> +++ bzrlib/builtins.py
> @@ -798,6 +798,7 @@
>      'bzr revert' instead of 'bzr commit' after the update.
>      """
>      takes_args = ['dir?']
> +    aliases = ['up']
>  
>      def run(self, dir='.'):
>          tree = WorkingTree.open_containing(dir)[0]

I'm okay with this, and I don't believe we have any other plans for
something named 'up'. But as with all things like this, I'd like for a
little bit of feeback before it gets merged.

+1 from me.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvVYxJdeBCYSNAAMRAuqPAJ0Svmnz+hknS4Vm/LVa+lsyP5D9jwCg0BE1
nmH/krkNi8VdSVoH9BRGECk=
=0LLu
-----END PGP SIGNATURE-----




More information about the bazaar mailing list