hgext/convert/subversion.py
changeset 4770 4526ef8c47b2
parent 4769 81b170c41986
child 4771 e2292928cbe6
equal deleted inserted replaced
4769:81b170c41986 4770:4526ef8c47b2
   476             if not hasattr(self, 'client_ctx'):
   476             if not hasattr(self, 'client_ctx'):
   477                 self.client_ctx = svn.client.create_context()
   477                 self.client_ctx = svn.client.create_context()
   478             optrev = svn.core.svn_opt_revision_t()
   478             optrev = svn.core.svn_opt_revision_t()
   479             optrev.kind = svn.core.svn_opt_revision_number
   479             optrev.kind = svn.core.svn_opt_revision_number
   480             optrev.value.number = revnum
   480             optrev.value.number = revnum
   481             rpath = '/'.join([self.url, path]).strip('/')
   481             rpath = '/'.join([self.base, path]).strip('/')
   482             return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx).keys()]
   482             return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx).keys()]
   483 
   483 
   484         if hasattr(self, '_find_children_fallback'):
   484         if hasattr(self, '_find_children_fallback'):
   485             return _find_children_fallback(path, revnum)
   485             return _find_children_fallback(path, revnum)
   486 
   486