emacs, hard-links, version-control

Neal Becker ndbecker2 at gmail.com
Thu Jul 17 14:09:37 CDT 2008


Ken Blake wrote:

> I ran into this too.  The documentation that mentions you can use cp -al
> instead of clone says editors like vi and emacs break the link.  By
> default that's true but if you use mercurial.el then it's no longer the
> case for
> emacs.  Looking through the vc-mode.el code I found a variable you can set
> to revert it back to the default behavior.  Add this to your init file.
> (setq vc-make-backup-files t)
> 

Yeah, what I think we really want, is vc-make-backup-files-when-linked,
which doesn't exist.



More information about the Mercurial mailing list