<div dir="ltr">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.<br>
(setq vc-make-backup-files t)<br><br>Ken<br><br><div class="gmail_quote">On Thu, Jul 17, 2008 at 6:57 AM, Neal Becker <<a href="mailto:ndbecker2@gmail.com">ndbecker2@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Let's say I start a new variation on a project, using cp -al. Now start<br>
editing with emacs.<br>
<br>
Normally emacs gives you a choice of methods for backups that would allow<br>
hard-links to be broken. Often (but not always) that's what I want.<br>
<br>
Other times I want emacs to break hard links. If I have loaded vc-hg, then<br>
emacs doesn't make backup files and there seems to be no option to break<br>
hard links.<br>
<br>
Suggestions?<br>
<br>
_______________________________________________<br>
Mercurial mailing list<br>
<a href="mailto:Mercurial@selenic.com">Mercurial@selenic.com</a><br>
<a href="http://selenic.com/mailman/listinfo/mercurial" target="_blank">http://selenic.com/mailman/listinfo/mercurial</a><br>
</blockquote></div><br></div>