What does a mercurial revision with no parent mean?
Posted
by Wilka
on Stack Overflow
See other posts from Stack Overflow
or by Wilka
Published on 2010-05-19T09:58:30Z
Indexed on
2010/05/19
10:00 UTC
Read the original article
Hit count: 118
mercurial
I have a Mercurial repository that is in a strange state now. This is what it looks like in TortoiseHG:
I didn't think this would be possible. Revision 54 has a parent of "-1 (000000000000)" (i.e. nothing). There's clearly something I don't understand yet about Mercurial, can anyone let me know what this means - and what must have happened for it to get into this state. As far as I know, it's only had stuff pushed and pulled from it - and nobody has been using any wacky extensions.
Revisions 54 and 55 were just adding tags, but if I 'update -C' to revision 54 I end up with ONLY the .hgtags file.
I've made a clone from revision 53 to fix this. But I'd rather understand what happened here, so I can avoid it happening again.
© Stack Overflow or respective owner