self.nmarks = 0
self.branches = set([])
self.import_line = 0
- self.inline_count = 0
self.basedir = os.getcwd()
def __enter__(self):
return self
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.