changeset 10619:bcdf37680569

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Tue, 09 Mar 2010 22:18:37 +0100
parents da7662ea741f (current diff) 508fda6b8637 (diff)
children 1ee14abe07b4
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Tue Mar 09 20:47:35 2010 +0100
+++ b/hgext/convert/subversion.py	Tue Mar 09 22:18:37 2010 +0100
@@ -812,6 +812,9 @@
                         break
                     if not paths:
                         self.ui.debug('revision %d has no entries\n' % revnum)
+                        # If we ever leave the loop on an empty
+                        # revision, do not try to get a parent branch
+                        lastonbranch = lastonbranch or revnum == 0
                         continue
                     cset, lastonbranch = parselogentry(paths, revnum, author,
                                                        date, message)