##// END OF EJS Templates
convert-repo: change duplicate elimination
Matt Mackall -
r1388:5eb2d3c5 default
parent child Browse files
Show More
@@ -254,11 +254,11 b' class convert:'
254 heads = self.source.getheads()
254 heads = self.source.getheads()
255 parents = self.walktree(heads)
255 parents = self.walktree(heads)
256 t = self.toposort(parents)
256 t = self.toposort(parents)
257 t = [n for n in t if n not in self.map]
257 num = len(t)
258 num = len(t)
258
259
259 for c in t:
260 for c in t:
260 num -= 1
261 num -= 1
261 if c in self.map: continue
262 desc = self.commitcache[c][3].splitlines()[0]
262 desc = self.commitcache[c][3].splitlines()[0]
263 #print num, desc
263 #print num, desc
264 self.copy(c)
264 self.copy(c)
General Comments 0
You need to be logged in to leave comments. Login now