[issue2075] rebase loses branch, fails, rollback attempt fails. Corruption ensues

Tim Smith bugs at mercurial.selenic.com
Sun Mar 7 14:38:03 UTC 2010


New submission from Tim Smith <tzs at tzs.net>:

This sequence of commands, starting in an empty directory, with no 
extensions 
installed other than rebase, leads to some kind of corruption:

rm -rf foo bar
hg init foo
cd foo
date > f1
date > f2
hg add
hg commit -m init
cd ..
hg clone foo bar
cd bar
hg branch dev
date > f3
hg add f3
hg commit -m 'added f3'
hg update default
cd ../foo
date >> f1
hg commit -m 'modify f1'
cd ../bar
hg incoming
hg pull
hg branches
hg rebase -s dev -d tip
# aborts with this error:
#    abort: 00changelog.i at d6f28a32660d: no node!
hg branches
# dev branch no longer exists. Try to recover...
hg rollback
hg status
# aborts with:
#    abort: working directory has unknown parent '07792ca7f8a9'!

I'm using Mercurial 1.4.2 (installed via macports on a Mac).

----------
messages: 11945
nosy: astratto, djc, tzs
priority: bug
status: unread
title: rebase loses branch, fails, rollback attempt fails. Corruption ensues

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


More information about the Mercurial-devel mailing list