Bug 2377 - Make strip use --no-backup instead of --nobackup, to be like revert.
Summary: Make strip use --no-backup instead of --nobackup, to be like revert.
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 09:51 UTC by Blake Winton
Modified: 2012-05-13 05:09 UTC (History)
7 users (show)

See Also:
Python Version: ---


Attachments
(34 bytes, application/octet-stream)
2010-12-31 05:16 UTC, Jacek Sowiński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blake Winton 2010-09-14 09:51 UTC
It trips me up every time I try to strip a pbranch out of my repo, and
should hopefully be an easy fix for someone who has a buildable copy of the
source.

Thanks,
Blake.
Comment 2 HG Bot 2010-09-17 12:00 UTC
Fixed by http://hg.intevation.org/mercurial/crew/rev/9e457c3f47d9
Christian Ebert <blacktrash@gmx.net>
mq: rename strip --nobackup option to --no-backup (issue2377)
Comment 3 Jacek Sowiński 2010-12-31 05:16 UTC
hgbot writes in msg13643:
> Fixed by http://hg.intevation.org/mercurial/crew/rev/9e457c3f47d9

Well, not exactly.

jacek ~/dev/repo $ hg strip --no-backup 38
1 files updated, 0 files merged, 11 files removed, 0 files unresolved
saved backup bundle to …

jacek ~/dev/flaggie2 $ hg strip --nobackup 12
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

As you can see the --no-backup option doesn't work. This is a typo-bug,
patch available here:

http://wklej.org/id/447901/ and as an attachment.
Comment 4 Patrick Mézard 2011-11-10 14:45 UTC
The typo was fixed in http://hg.intevation.org/mercurial/crew/rev/0a1eefaf98f2
Comment 5 Bugzilla 2012-05-12 09:12 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:12 EDT  ---

This bug was previously known as _bug_ 2377 at http://mercurial.selenic.com/bts/issue2377
Imported an attachment (id=1455)