]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Track a change in the reposugeon version.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 14 Nov 2010 23:10:03 +0000 (18:10 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 14 Nov 2010 23:10:03 +0000 (18:10 -0500)
rcs-fast-import

index e64555ab729bba63ff64858cb0bd661dac97140c..e649d9394a4725f047772bcda1dcb5cc994d5060 100755 (executable)
@@ -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.