add revision range selection to log

TK Soh teekaysoh at yahoo.com
Fri Aug 5 21:23:21 CDT 2005


--- TK Soh <teekaysoh at yahoo.com> wrote:
> --- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> > * TK Soh <teekaysoh at yahoo.com> [20050716 05:29]:
> > > This patch let log -r take the A:B range notation for selecting range of
> > > revisions, as seen on the export command:
> > > 
> > >    $ hg log -r1:3 -r8    # select revision 1,2,3 and 8
> > 
> > This drops the compatibility to 'hg diff' with two -r options. Is
> > this still important to anyone? Matt seemed to like this very much,
> > as I did, too, but I'm now convinced that it should work like it is
> > implemented by TK Soh.
> > 
> > Matt or anyone else, objections to this?
> > 
> > > -    -r, --rev <A>, ...  When a revision argument is given, only this
> file
> > or
> > > +    -r, --revision <rev>  When a revision argument is given, only this
> > file
> > 
> > Why --revision? At the moment only hg annotate uses this, which
> > probably should be changed, too. All others use --rev.
> > Patch for annotate is attached and in my tree.
> 
> I have reverted to --rev in the attached patch.

Thomas,

Any further comment on this patch?

-TK

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mercurial mailing list