##// END OF EJS Templates
convert: make hg sink cleanup safer
Matt Mackall -
r10086:e388f5ee stable
parent child Browse files
Show More
@@ -61,8 +61,10 b' class mercurial_sink(converter_sink):'
61
61
62 def after(self):
62 def after(self):
63 self.ui.debug('run hg sink post-conversion action\n')
63 self.ui.debug('run hg sink post-conversion action\n')
64 self.lock.release()
64 if self.lock:
65 self.wlock.release()
65 self.lock.release()
66 if self.wlock:
67 self.wlock.release()
66
68
67 def revmapfile(self):
69 def revmapfile(self):
68 return os.path.join(self.path, ".hg", "shamap")
70 return os.path.join(self.path, ".hg", "shamap")
General Comments 0
You need to be logged in to leave comments. Login now