[issue3395] mq strip will strip public revisions

Brian Armstrong bugs at mercurial.selenic.com
Tue Apr 24 19:27:28 CDT 2012


New submission from Brian Armstrong <kf7huf at gmail.com>:

The mq extensions 'strip' command will strip revisions marked as 'public'.


$ hg phase .
253: public

$ hg strip 253
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
saved backup bundle to /repo/path/.hg/strip-backup/436b6039ca3d-backup.hg

$ hg phase .
252: public


Since it doesn't let you rebase public revisions without forcing, it should
not allow you to strip revisions without forcing either.

Although, I do have to admit that stripping doesn't risk duplicating history
the same way rebase does, so maybe this is a moot point.

----------
messages: 19735
nosy: killermonk
priority: bug
status: unread
title: mq strip will strip public revisions
topic: mq, phases

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


More information about the Mercurial-devel mailing list