Kernel "make clean" kills repo

Thomas Arendsen Hein thomas at intevation.de
Sun Aug 7 06:53:09 UTC 2005


* Nathan Lutchansky <lutchann-mercurial at litech.org> [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.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050807/7e99096e/attachment-0001.asc>


More information about the Mercurial mailing list