vcs: Use commit date as modification time when creating archives. #4247
This commit is contained in:
parent
e994e7e7b1
commit
04f3b7803b
1 changed files with 1 additions and 1 deletions
|
|
@ -860,7 +860,7 @@ class BaseCommit(object):
|
|||
|
||||
prefix = self._validate_archive_prefix(prefix)
|
||||
|
||||
mtime = mtime or time.time()
|
||||
mtime = mtime or time.mktime(self.date.timetuple())
|
||||
|
||||
file_info = []
|
||||
cur_rev = self.repository.get_commit(commit_id=self.raw_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue