Issue2075

Title rebase loses branch, fails, rollback attempt fails. Corruption ensues
Priority bug Status resolved
Superseder Nosy List astratto, cboos, djc, tzs, wbruna
Assigned To Topics

Created on 2010-03-07.14:38:03 by tzs, last changed 2011-03-26.09:25:18 by astratto.

Messages
msg15831 (view) Author: astratto Date: 2011-03-26.09:25:18
This is not reproducible anymore.
After a bisect session, it seems to be fixed by d01e28657429.
msg11953 (view) Author: wbruna Date: 2010-03-08.22:45:57
FWIW, I've got the same error here with 1.5 (debian lenny, running from
sources).
msg11945 (view) Author: tzs Date: 2010-03-07.14:38:03
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@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).
History
Date User Action Args
2011-03-26 09:25:18astrattosetstatus: chatting -> resolved
nosy: cboos, djc, wbruna, astratto, tzs
messages: + msg15831
2010-10-10 14:32:12cboossetnosy: + cboos
2010-03-08 22:45:57wbrunasetstatus: unread -> chatting
nosy: + wbruna
messages: + msg11953
2010-03-07 14:38:03tzscreate