# HG changeset patch # User Matt Mackall # Date 1128565601 25200 # Node ID 5eb2d3c541659dd9920e1d2f10c44844736ae344 # Parent 0c7e8d3455641767fb8cc991d8c70a9bcd110aa7 convert-repo: change duplicate elimination diff -r 0c7e8d345564 -r 5eb2d3c54165 contrib/convert-repo --- a/contrib/convert-repo Wed Oct 05 19:25:45 2005 -0700 +++ b/contrib/convert-repo Wed Oct 05 19:26:41 2005 -0700 @@ -254,11 +254,11 @@ heads = self.source.getheads() parents = self.walktree(heads) t = self.toposort(parents) + t = [n for n in t if n not in self.map] num = len(t) for c in t: num -= 1 - if c in self.map: continue desc = self.commitcache[c][3].splitlines()[0] #print num, desc self.copy(c)