Working directory has unknown parent

Hubert Matthews hubert at oxyware.com
Thu Jan 7 11:12:01 CST 2010


Hi Abderrahim

Thanks for the reply.  .hg/dirstate contains 40 NUL characters.  I deleted
it and ran "hg update -C" as you suggested but dirstate is still full of
NULs.  I get the same results on a clone.

I ran "hg debugsetparents tip" and after that "hg status" now works and no
longer gives the "abort: working directory has unknown parent" message, so
some progress!

$ hg tip
changeset:   -1:000000000000
tag:         tip
user:
date:        Thu Jan 01 00:00:00 1970 +0000

$ hg summary
parent: -1:000000000000 tip (empty repository)
branch: default
commit: 9 unknown (clean)
update: (current)

Any other suggestions, anyone?

-- 
Hubert Matthews         http://www.oxyware.com/
Software Consultant     hubert at oxyware.com




More information about the Mercurial mailing list