equal
deleted
inserted
replaced
30 try: |
30 try: |
31 recurse = {'*': False, '**': True}[roottail] |
31 recurse = {'*': False, '**': True}[roottail] |
32 except KeyError: |
32 except KeyError: |
33 repos.append((prefix, root)) |
33 repos.append((prefix, root)) |
34 continue |
34 continue |
35 roothead = os.path.normpath(roothead) |
35 roothead = os.path.normpath(os.path.abspath(roothead)) |
36 for path in util.walkrepos(roothead, followsym=True, recurse=recurse): |
36 for path in util.walkrepos(roothead, followsym=True, recurse=recurse): |
37 path = os.path.normpath(path) |
37 path = os.path.normpath(path) |
38 name = util.pconvert(path[len(roothead):]).strip('/') |
38 name = util.pconvert(path[len(roothead):]).strip('/') |
39 if prefix: |
39 if prefix: |
40 name = prefix + '/' + name |
40 name = prefix + '/' + name |