hgext/convert/subversion.py
changeset 18374 942ecb55b1de
parent 17974 337d728e644f
child 19122 83973dc1bfe9
equal deleted inserted replaced
18373:687ed69f6fdf 18374:942ecb55b1de
   375         # Check if branches bring a few more heads to the list
   375         # Check if branches bring a few more heads to the list
   376         if branches:
   376         if branches:
   377             rpath = self.url.strip('/')
   377             rpath = self.url.strip('/')
   378             branchnames = svn.client.ls(rpath + '/' + quote(branches),
   378             branchnames = svn.client.ls(rpath + '/' + quote(branches),
   379                                         rev, False, self.ctx)
   379                                         rev, False, self.ctx)
   380             for branch in branchnames.keys():
   380             for branch in sorted(branchnames):
   381                 module = '%s/%s/%s' % (oldmodule, branches, branch)
   381                 module = '%s/%s/%s' % (oldmodule, branches, branch)
   382                 if not isdir(module, self.last_changed):
   382                 if not isdir(module, self.last_changed):
   383                     continue
   383                     continue
   384                 brevid = self.latest(module, self.last_changed)
   384                 brevid = self.latest(module, self.last_changed)
   385                 if not brevid:
   385                 if not brevid: