mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
missed setting eseen and extra when restoring an entry
This commit is contained in:
parent
ba244688c6
commit
d22f59fd5d
1 changed files with 2 additions and 0 deletions
|
|
@ -96,11 +96,13 @@ class MyFile(File):
|
|||
elif code == 'r':
|
||||
self.eseen = 0
|
||||
elif code in ('c', 'u'):
|
||||
self.eseen = 1
|
||||
self.erev = self.rrev
|
||||
self.enew = 0
|
||||
self.edeleted = 0
|
||||
self.esum = self.rsum
|
||||
self.emtime, self.ectime = os.stat(self.file)[-2:]
|
||||
self.extra = ''
|
||||
|
||||
def commit(self, message = ""):
|
||||
code = self.action()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue