changeset 5115:5023af9fcba4

Merge with crew
author Brendan Cully <brendan@kublai.com>
date Sat, 04 Aug 2007 18:04:35 -0700
parents 35f67dd712d0 (diff) d5126a0172ba (current diff)
children 35d47b06d4e3
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Sat Aug 04 22:27:52 2007 +0200
+++ b/hgext/convert/subversion.py	Sat Aug 04 18:04:35 2007 -0700
@@ -624,9 +624,10 @@
         return data, mode
 
     def _find_children(self, path, revnum):
+        path = path.strip('/')
         pool = Pool()
         optrev = svn.core.svn_opt_revision_t()
         optrev.kind = svn.core.svn_opt_revision_number
         optrev.value.number = revnum
-        rpath = '/'.join([self.base, path.strip('/')]).strip('/')
+        rpath = '/'.join([self.base, path]).strip('/')
         return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.ctx, pool).keys()]