Kernel "make clean" kills repo

Thomas Arendsen Hein thomas at
Sun Aug 7 01:53:09 CDT 2005

* Nathan Lutchansky <lutchann-mercurial at> [20050807 04:25]:
> The kernel clean target removes all files in the tree starting with . and 
> ending with .d, which trashes some files in the repo and makes Mercurial 
> fairly unhappy.
> This doesn't just happen to me, right?

This was discovered by others just some hours ago, too. It happened
before, but nobody did know why.

> Is there a workaround?

I haven't tried, maybe you can move the .hg directory away and point
a symlink to it? I don't know if 'make clean' follows symlinks.

Another (not yet implemented) way would be the $HGROOT or $HGHOME
mechanism proposed some weeks ago, so the .hg directory would be
somewhere else.

> Or do the kernel makefiles need to be fixed?  -Nathan

This has to be done, right.


Email: thomas at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the Mercurial mailing list