emacs, hard-links, version-control

Johannes Stezenbach js at sig21.net
Thu Jul 17 14:13:26 CDT 2008


On Thu, Jul 17, 2008 at 11:00:41AM -0500, 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

vi will not break hardlinks for compatibility with "crontab -e".

For vim you can e.g. 'set backupcopy=auto,breakhardlink'.


The mercurial man page doesn't mention vi in the section about 'cp al'.


Johannes


More information about the Mercurial mailing list