From 4ca7aef14ba9420f77e46dda93afcce3da1086ac Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 14 Nov 2010 18:10:03 -0500 Subject: [PATCH] Track a change in the reposugeon version. --- rcs-fast-import | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rcs-fast-import b/rcs-fast-import index e64555a..e649d93 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -268,7 +268,6 @@ class Repository: self.nmarks = 0 self.branches = set([]) self.import_line = 0 - self.inline_count = 0 self.basedir = os.getcwd() def __enter__(self): return self @@ -434,9 +433,8 @@ class Repository: else: self.error("no blob matches commit reference to %s" % fileop.ref) elif fileop.ref == 'inline': - fileop.copyname = "inline-" + `id(self)` + "-" + `self.inline_count` + fileop.copyname = "inline-" + `id(commit)` read_data(open(os.path.join(self.subdir(), fileop.copyname), "w")).close() - self.inline_count += 1 else: self.error("unknown content type in filemodify") # Handling of file ops ends. -- 2.43.0