bug: -r should mean "--revision" everywhere
Daniel Holth
dholth at fastmail.fm
Thu Feb 8 14:09:36 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Multiple times a day, I am confronted with:
hg status --rev 1 --rev 2
because I want to see which files changed between two revisions.
Of course, usually I type
$ hg status -r 1 -r 2
1: No such file or directory
2: No such file or directory
first.
I have never had any desire to use
hg status -r # show removed files
So, I am affected daily by the UI bug that -r does not mean "revision"
here and everywhere.
Example fixes:
hg status --removed-files
hg diff --summarize -r 1:2
AWOL, astray, away, bag, blitz, cutting, elsewhere, ghost, gone,
hooky, missing, no-show, out, removed, vanished
When I have some time I plan to prepare the
probably-less-controversial "hg update -r target-revision" patch.
- - Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFyy8fVh4W2pVfoMsRAtD0AJ9m+cJkjRwiMZBAGd4SX8sck5/5RwCgvkz8
tz3Ulopa2h94EedOolHbX3E=
=x232
-----END PGP SIGNATURE-----
More information about the Mercurial
mailing list