parent -1

Uwe Brauer oub at mat.ucm.es
Wed Nov 30 09:17:47 UTC 2016


>>> "Arne" == Arne Babenhauserheide <arne_bab at web.de> writes:

   > Hi Uwe,
   > Uwe Brauer writes:
   >> Anybody has an explanation?
   >> What does
   >> parent:      -1:000000000000
   >> 
   >> Mean?

   > This means that this is the root of the tree.

   > To reproduce:

   > hg update null

Oops how the heck did this happen?
   > echo 1 > 1
   > hg ci -Am "first commit"
   > hg log --debug -r .

   > Likely something updated to revision null.


Confirmed.

So the workaround would be as I proposed?


    -  Move out critical files, 

    -  strip, 

    -  update to tip, 

    -  move in the files in 

    -  commit

    -  push

Uwe 




More information about the Mercurial mailing list