[issue3326] hg strip --no-back has short option -n like --dry-run

Geralt bugs at mercurial.selenic.com
Tue Mar 20 06:53:51 CDT 2012


New submission from Geralt <usr.gentoo at gmail.com>:

The hg strip option --no-backup uses the same short option (-n) as the --dry-
run option of other Mercurial commands.

In this particular case the --no-backup option on strip does the exact 
opposite of what a naive user (like me) would expect when one executes hg 
strip -n. This is particular bad, because I did rely on the superb user 
interface of Mercurial and never expected to loose all chances of recovering 
from a strip when all I wanted was to see what a strip would actually strip 
from my history.

----------
messages: 19418
nosy: Geralt
priority: bug
status: unread
title: hg strip --no-back has short option -n like --dry-run

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3326>
____________________________________________________


More information about the Mercurial-devel mailing list