bug: -r should mean "--revision" everywhere
Shane Holloway
shane.holloway at ieee.org
Thu Feb 8 18:35:55 UTC 2007
I concur that hg status --rev is rather annoying, and I have also
tried to do an hg update -r before as well. Using -r everywhere
would be especially useful when using readline and just changing the
hg command.
On Feb 8, 2007, at 7:09 AM, Daniel Holth wrote:
> -----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-----
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list