more consistent "-r means [REV]"

Matt Mackall mpm at selenic.com
Thu Apr 19 22:30:29 UTC 2007


On Thu, Apr 19, 2007 at 05:15:31PM -0400, Daniel Holth wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rather than try to remember which commands use -r and which don't, a
> mistake I constantly make (made) and I've seen others make, here is a
> patch to accept -r in more places.
> 
> I had to change "hg status" to accept "-e" as "show removed files". I
> think this is worthwhile for consistency, and because "revision" is a
> much more frequently needed concept than "removed (erased)"
> 
> Comments?

Thanks for doing this. 

I'm slightly bothered by changing status. We've had -r there for a
long time and the -r there matches the R reported for removed files.
We need to think about this piece a bit more.

The rest of it looks good though.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list