changeset 4839:e20e40f67f0e

convert: svn: avoid parsing already-seen logentries due to branch following
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Jul 2007 15:01:31 -0700
parents 61343b40a141
children a265fe42abe7
files hgext/convert/subversion.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: