Mercurial > hg
changeset 10618:508fda6b8637 stable
convert: handle svn tree with empty roots (issue2079)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 09 Mar 2010 22:11:43 +0100 |
parents | 65b178f30eae |
children | bcdf37680569 7ce62865d72a |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Tue Mar 09 20:38:23 2010 +0100 +++ b/hgext/convert/subversion.py Tue Mar 09 22:11:43 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)