[RFC][PATCH] New revision option format

Hanns-Steffen Eichenberg scameronde at googlemail.com
Thu Nov 9 14:59:28 GMT 2006


On 11/9/06, Matthew Hannigan <mlh at zip.com.au> wrote:
>
> On Wed, Nov 08, 2006 at 11:20:45PM +0100, Goffredo Baroncelli wrote:
> > [ALIAS]
> > c=log -r 1
> >
> > and then I do
> >
> > $ bzr c -r 2
> >
> > the command abowe will be translated in
> >
> > $ bzr log -r 1 -r 2
> >
> > which will raise an error (bzr cat --revision takes exactly one number)
>
> Maybe we want long options as well; would solve this?
>
>         --revfrom
>         --revto


I second that. With one modification: i do not like the CVS style that much.
I think the current way of specifying
revisions is OK most of the time, so there is no need to change it. But
having a more 'talkative' way of specifying
revisions for the complex cases would be fine.

Please do not get me wrong Goffredo. It is great that someone takes action,
but i do like Matthews suggestion better ;-)

If the core developers will decide to introduce something like '--revfrom',
'--revto' (with or without Goffredos change), what
about some other long options, like '--first n' and "--last n' for only
showing the first/last n revisions in the given interval.
I know you can do that with the current revision format as well, but for
someone like me this would be easier to remember
and use.


Steffen



Matt
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20061109/1cc52cb8/attachment.htm 


More information about the bazaar mailing list