parent -1

Arne Babenhauserheide arne_bab at web.de
Wed Nov 30 22:14:52 UTC 2016


Uwe Brauer writes:

>>>> "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 

Maybe you can simply commit, update to another head and then hg graft
the changeset. Once you have it, you can strip the original (misplaced)
one out.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20161130/37780495/attachment.asc>


More information about the Mercurial mailing list