convert: svn: avoid parsing already-seen logentries due to branch following
authorBrendan Cully <brendan@kublai.com>
Thu, 05 Jul 2007 15:01:31 -0700
changeset 4839 e20e40f67f0e
parent 4838 61343b40a141
child 4840 a265fe42abe7
convert: svn: avoid parsing already-seen logentries due to branch following
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Thu Jul 05 14:32:18 2007 -0700
+++ b/hgext/convert/subversion.py	Thu Jul 05 15:01:31 2007 -0700
@@ -190,7 +190,8 @@
             parents = []
 
             # branch log might return entries for a parent we already have
-            if rev in self.commits:
+            if (rev in self.commits or
+                (revnum < self.lastrevs.get(self.module, 0))):
                 return
 
             try: