[PATCH] archive: pass thru mtime for directory archives, like the other archive types do

Yuya Nishihara yuya at tcha.org
Sun Dec 3 01:57:46 EST 2017


On Fri, 1 Dec 2017 17:41:31 +1100, James May wrote:
> # HG changeset patch
> # User James May <james.may at draeger.com>
> # Date 1512110361 -39600
> #      Fri Dec 01 17:39:21 2017 +1100
> # Node ID b7a1f6fbfe150ab776c2cb48c120aab97f6d7e7f
> # Parent  6864c405f0235d5c42937658049f0405d5d1abdc
> archive: pass thru mtime for directory archives, like the other archive types do
> 
> Without this files in the output archive directory have their mtimes set to
> whatever time they were written their.  This is in this inconsistent with
> the other archivers, eg. zip, which use exactly the same time for all files.
> 
> Works on my machine (Windows), but I don't have a *nix box avaialble to run
> anything more thourugh, unfortunately.

Makes sense. Queued, thanks.


More information about the Mercurial-devel mailing list