Fix subversion convert not detecting empty changesets.
authorFrancis Barber <fedora@barber-family.id.au>
Sat, 25 Apr 2009 21:27:47 +0800
changeset 8172 36b935cad495
parent 8171 4e5bd9b97bb3
child 8173 d3fb413667e5
Fix subversion convert not detecting empty changesets. Need to check for the empty as list as well as None.
hgext/convert/subversion.py
--- 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,