--- a/hgext/convert/subversion.py Mon Mar 14 22:37:50 2011 +0100
+++ b/hgext/convert/subversion.py Tue Mar 15 16:53:46 2011 -0500
@@ -866,7 +866,9 @@
pool = Pool()
rpath = '/'.join([self.baseurl, urllib.quote(path)]).strip('/')
entries = svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool)
- return ((path + '/' + p) for p, e in entries.iteritems()
+ if path:
+ path += '/'
+ return ((path + p) for p, e in entries.iteritems()
if e.kind == svn.core.svn_node_file)
def getrelpath(self, path, module=None):