Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable patchctx: '' is never a valid date (fixes #307)

Even when a patch file is unreadable its patchctx date should be valid

Changeset 0c2bed6bee4b

Parent 53ca55f9aa39

by Steve Borho

Changes to one file · Browse files at 0c2bed6bee4b Showing diff from parent 53ca55f9aa39 Diff from another changeset...

 
35
36
37
38
39
40
41
 
53
54
55
 
56
57
58
 
35
36
37
 
38
39
40
 
52
53
54
55
56
57
58
@@ -35,7 +35,6 @@
  self._status = [[], [], []]   self._fileorder = []   self._user = '' - self._date = ''   self._desc = ''   self._branch = ''   self._node = node.nullid @@ -53,6 +52,7 @@
  hash.update(str(self._mtime))   self._identity = hash.digest()   except EnvironmentError: + self._date = util.makedate()   return     try: