[PATCH] Use shutil.copystat in copyfile()

Matt Mackall mpm at selenic.com
Mon Feb 9 22:10:30 UTC 2009


On Mon, 2009-02-09 at 09:50 -0600, Will Maier wrote:
> Hi folks-
> 
> The patch below causes util.copyfile() to use shutil.copystat()
> instead of simply shutil.copymode(). In addition to the source
> file's mode, this ensures that the dest has the correct mtime and
> atime. 

Queued.

-- 
http://selenic.com : development and support for Mercurial and Linux





More information about the Mercurial-devel mailing list