changeset 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 4e5bd9b97bb3
children d3fb413667e5
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,