Hardlink to/from in-repository file?

Matt Mackall mpm at selenic.com
Thu Apr 10 16:27:39 UTC 2014


On Thu, 2014-04-10 at 14:22 +0200, Masklinn wrote:
> I was trying to version a file between inside and outside of a
> repository, but it looks like this does not work because mercurial
> re-creates the file on each update:

Yep. This is definitely intentional because it works around a TON of
issues including broken file permissions and already-open files.

(Nor is this unusual behavior. For instance, Emacs has been doing this
since prehistoric times.)

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list