parent -1

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Dec 2 15:10:55 UTC 2016



On 11/29/2016 11:29 PM, Uwe Brauer wrote:
> Hi
>
> A collaborator of mine, after pulling from the common repo wanted to
> commit and obtained:
>
> hg commit -m "Msg"
>
> warning: ignoring unknown working parent fb3007ebc0d2!
> created new head

The warning here means that for some reason some Mercurial internal 
state got "corrupt" and was recording a current "checked out" revision 
now unknown to Mercurial. For some reason, this is not a fatal error 
when reading the repository (since operation not touching the working 
copy works fine), however this is apparently still just a warning for 
operation like commit. In that case, the working copy parent fallback to 
nullid.

It seems like we should turn the warning into a hard failure in the case 
of a commit (or similar operation), can you fill a bug about this  on 
http://bz.mercurial-scm.org/.

thanks,

-- 
Pierre-Yves David


More information about the Mercurial mailing list