[RFC][PATCH] New revision option format

Goffredo Baroncelli kreijack at tiscalinet.it
Thu Nov 9 12:00:38 GMT 2006


On Thursday 09 November 2006 09:01, Alexander Belchenko wrote:
> Goffredo Baroncelli пишет:
[...]
> > [ALIAS]
> > c=log -r 1
> 
> You probably want to write:
> 
> c=cat -r 1

Yes

> see below...
> 
> > and then I do
> >
> > $ bzr c -r 2
> >
> > the command abowe will be translated in
> >
> > $ bzr log -r 1 -r 2
> 
> ...Because 'log' accept range of revisions...
> 
> > which will raise an error (bzr cat --revision takes exactly one number)
> 
> ..Otherwise mentioning 'cat' command have no sense.

Sorry for the confusion about log vs cat.

however the problem is:
- currently if I set an option in the alias, these option is ovverride by the 
new one
- with this modification, if I set __a revision__ in the alias, these is added 
to the one passed in the command line 


Goffredo

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9




More information about the bazaar mailing list