Mercurial > hg
diff hgext/convert/subversion.py @ 8172:36b935cad495
Fix subversion convert not detecting empty changesets.
Need to check for the empty as list as well as None.
author | Francis Barber <fedora@barber-family.id.au> |
---|---|
date | Sat, 25 Apr 2009 21:27:47 +0800 |
parents | b7cdfa2527be |
children | cce63ef1045b |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Sun Apr 19 13:12:20 2009 -0400 +++ b/hgext/convert/subversion.py Sat Apr 25 21:27:47 2009 +0800 @@ -851,7 +851,7 @@ self.ui.note(_('skipping blacklisted revision %d\n') % revnum) continue - if paths is None: + if not paths: self.ui.debug(_('revision %d has no entries\n') % revnum) continue cset, lastonbranch = parselogentry(paths, revnum, author,