[PATCH] revert: rename original to .orig instead of copying (issue2282)
Matt Mackall
mpm at selenic.com
Tue Jul 20 14:56:10 CDT 2010
On Tue, 2010-07-13 at 03:06 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1278983054 -7200
> # Node ID d4d62ad50e00084e89b20e8cb91feab4487d31cd
> # Parent 67b07df92ca18e081ee9b3fdd290ace3a2c63611
> revert: rename original to .orig instead of copying (issue2282)
>
> By renaming before reverting the content of the file we ensure that we handle
> and break hardlinks properly.
>
> Handling of other hardlinks to .orig is somebody elses problem.
Queued for stable, thanks.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list