equal
deleted
inserted
replaced
11 # |
11 # |
12 # Set these in a hgrc, or on the command line as follows: |
12 # Set these in a hgrc, or on the command line as follows: |
13 # |
13 # |
14 # hg convert --config convert.svn.trunk=wackoname [...] |
14 # hg convert --config convert.svn.trunk=wackoname [...] |
15 |
15 |
16 import pprint |
|
17 import locale |
16 import locale |
18 import os |
17 import os |
19 import cPickle as pickle |
18 import cPickle as pickle |
20 from mercurial import util |
19 from mercurial import util |
21 |
20 |
645 # python binding for getdir is broken up to at least 1.4.3 |
644 # python binding for getdir is broken up to at least 1.4.3 |
646 raise CompatibilityException() |
645 raise CompatibilityException() |
647 dirents = getdir[0] |
646 dirents = getdir[0] |
648 if type(dirents) == int: |
647 if type(dirents) == int: |
649 # got here once due to infinite recursion bug |
648 # got here once due to infinite recursion bug |
650 # pprint.pprint(getdir) |
|
651 return |
649 return |
652 c = dirents.keys() |
650 c = dirents.keys() |
653 c.sort() |
651 c.sort() |
654 for child in c: |
652 for child in c: |
655 dirent = dirents[child] |
653 dirent = dirents[child] |