##// END OF EJS Templates
convert/svn: fix _iterfiles() output in root dir case (issue2647)...
Patrick Mezard -
r13651:9777df92 stable
parent child Browse files
Show More
@@ -866,7 +866,9 b' class svn_source(converter_source):'
866 pool = Pool()
866 pool = Pool()
867 rpath = '/'.join([self.baseurl, urllib.quote(path)]).strip('/')
867 rpath = '/'.join([self.baseurl, urllib.quote(path)]).strip('/')
868 entries = svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool)
868 entries = svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool)
869 return ((path + '/' + p) for p, e in entries.iteritems()
869 if path:
870 path += '/'
871 return ((path + p) for p, e in entries.iteritems()
870 if e.kind == svn.core.svn_node_file)
872 if e.kind == svn.core.svn_node_file)
871
873
872 def getrelpath(self, path, module=None):
874 def getrelpath(self, path, module=None):
General Comments 0
You need to be logged in to leave comments. Login now