Mercurial > hg
comparison hgext/convert/subversion.py @ 18374:942ecb55b1de
convert: process subversion branch in a sorted order
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Jan 2013 02:59:14 +0100 |
parents | 337d728e644f |
children | 83973dc1bfe9 |
comparison
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: |