[MERGE] Replace aliases in selftest --starting-with option.

John Arbash Meinel john at arbash-meinel.com
Fri Aug 29 17:43:21 BST 2008


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

Vincent Ladeuil wrote:
> This patch provides aliases when using the --starting-with option
> with selftest so that you can type:
> 
>        bzr selftest -s bp.bzrtools
> 
> instead of
> 
>        bzr selftest -s bzrlib.plugins.bzrtools
>    
> I've made a conservative first set of predefined aliases
> considering that the color of the bike is blue.
> 

Thanks for doing this.

+    def resolve_alias(self, id_start):
+        """Replace the alias by the prefix in the given string.
+
+        Using a unknown prefix is an error to help catching typos.
+        """
+
^- "Using an unknown ..."

+"""Registry of test prefixe aliases."""

^- prefix ?

BB:tweak

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

iD8DBQFIuCcpJdeBCYSNAAMRAqO/AKCj8yJkAuE/usThzLvPldhg7WPaTwCePHHp
W0/kAYNlMCdFc79V5lmokQA=
=TYUt
-----END PGP SIGNATURE-----



More information about the bazaar mailing list