[PATCH] Re: How to explore a remote branch?

Robert Collins robertc at robertcollins.net
Tue Feb 21 11:37:11 GMT 2006


On Tue, 2006-02-21 at 12:20 +0100, Matthieu Moy wrote:
> Matthieu Moy <Matthieu.Moy at imag.fr> writes:
> 
> > "Erik Bågfors" <zindar at gmail.com> writes:
> >
> >> 2006/2/21, Matthieu Moy <Matthieu.Moy at imag.fr>:
> >>> Hi,
> >>>
> >>> Is there a way to get the equivalent of "bzr log" on a remote branch?
> >>
> >> try
> >>
> >> bzr log http://bazaar-ng.org/bzr/bzr.dev/
> >
> > Silly me. Sure I could have guessed it ;-). Thanks.
> 
> Actually, the documentation of "bzr log" is inacurate. The following
> patch makes it better:
> 
> === modified file 'bzrlib/builtins.py'
> --- bzrlib/builtins.py	
> +++ bzrlib/builtins.py	
> @@ -956,16 +956,18 @@
>  
> 
>  class cmd_log(Command):
> -    """Show log of this branch.
> +    """Show log of a branch.
>  
>      To request a range of logs, you can use the command -r begin..end
>      -r revision requests a specific revision, -r ..end or -r begin.. are
>      also valid.
> +
> +    Without BRANCH_LOCATION argument, use the current branch.
>      """
>  
>      # TODO: Make --revision support uuid: and hash: [future tag:] notation.
>  
> -    takes_args = ['filename?']
> +    takes_args = ['filename?','branch_location?']
>      takes_options = [Option('forward', 
>                              help='show from oldest to newest'),
>                       'timezone', 'verbose', 
> 


This is actually incorrect, log only takes one parameter.

If filename points to a file in a different branch, or to the root of a
different branch, then that branch is the one logged. 

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/20060221/ae1e62da/attachment.pgp 


More information about the bazaar mailing list