[issue465] abusive strips on merged branches
Phil
mercurial-bugs at selenic.com
Tue Jan 2 17:09:41 CST 2007
New submission from Phil <hg.bt.web at secdev.org>:
When two heads are merged, if the younger is striped, the other is abusively
deleted, and without backup!
3
/|
2 |
| 1 <-- strip here.
|/
0
Recipe:
hg init
touch foo
hg add foo
hg commit -m add
echo bar1 >> foo
hg commit -m bar1
hg update 0
echo bar2 >> foo
hg commit -m bar2
hg merge
hg commit -m merge
hg strip 1
There you've lost rev2 forever and the bundle is not even usable anymore.
Tested with hg 0.9.1 and 0.9.3.
----------
messages: 2633
nosy: Phil
priority: critical
status: unread
title: abusive strips on merged branches
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue465>
____________________________________________________
More information about the Mercurial-devel
mailing list