[Patch] bzr status doesn't handle revision

Robert Collins robertc at robertcollins.net
Fri Sep 9 14:52:11 BST 2005


On Wed, 2005-09-07 at 21:03 +0100, Magnus Therning wrote:
> The command doesn't actually handle a revision argument so this patch
> removes it.
> 
> *** modified file 'bzrlib/builtins.py'
> --- bzrlib/builtins.py 
> +++ bzrlib/builtins.py 
> @@ -66,7 +66,7 @@
>      If a revision is specified, the changes since that revision are shown.
>      """
>      takes_args = ['file*']
> -    takes_options = ['all', 'show-ids', 'revision']
> +    takes_options = ['all', 'show-ids']

I've taken this into integration as it doesn't make sense to me for
'status --revision FOO' to do anything anyway. One small nit - you left
the 'If a revision ..' message in the docstring for the method :0.

Other than that, thanks!

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050909/310a7f7a/attachment.pgp 


More information about the bazaar mailing list