##// END OF EJS Templates
vcs: Use commit date as modification time when creating archives. #4247
Martin Bornhold -
r869:5629384c default
parent child Browse files
Show More
@@ -860,7 +860,7 b' class BaseCommit(object):'
860
860
861 prefix = self._validate_archive_prefix(prefix)
861 prefix = self._validate_archive_prefix(prefix)
862
862
863 mtime = mtime or time.time()
863 mtime = mtime or time.mktime(self.date.timetuple())
864
864
865 file_info = []
865 file_info = []
866 cur_rev = self.repository.get_commit(commit_id=self.raw_id)
866 cur_rev = self.repository.get_commit(commit_id=self.raw_id)
General Comments 0
You need to be logged in to leave comments. Login now