summaryrefslogtreecommitdiffstats
path: root/Demo/pdist
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-04-28 15:37:22 (GMT)
committerGuido van Rossum <guido@python.org>1995-04-28 15:37:22 (GMT)
commitd22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca (patch)
treec68e07c63086b5759e01b38961800f77e1253a4b /Demo/pdist
parentba244688c608917a25793622950a0ef176565d53 (diff)
downloadcpython-d22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca.zip
cpython-d22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca.tar.gz
cpython-d22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca.tar.bz2
missed setting eseen and extra when restoring an entry
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-xDemo/pdist/rcvs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/pdist/rcvs.py b/Demo/pdist/rcvs.py
index 9947bf1..384ce64 100755
--- a/Demo/pdist/rcvs.py
+++ b/Demo/pdist/rcvs.py
@@ -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()