comparison mercurial_all_paths.py @ 50:55469dbb19c4

testfixes
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 25 Sep 2016 22:02:55 +0200
parents 00995da9c204
children 95b5ba2cd363
comparison
equal deleted inserted replaced
49:d76b40291d10 50:55469dbb19c4
51 :return: list of pairs (alias, path) 51 :return: list of pairs (alias, path)
52 """ 52 """
53 if not group: 53 if not group:
54 return _find_all_paths(ui, skip_ignored=True, sort_by_priority=True) 54 return _find_all_paths(ui, skip_ignored=True, sort_by_priority=True)
55 55
56 print "DBG:GRR", group
57
58 # „Modern” syntax 56 # „Modern” syntax
59 grp_def = ui.configlist("all_paths", "group." + group) 57 grp_def = ui.configlist("all_paths", "group." + group)
60 if grp_def: 58 if grp_def:
61 all_paths = dict(_find_all_paths(ui)) 59 all_paths = dict(_find_all_paths(ui))
62 paths = [] 60 paths = []
131 _, spec = mercurial.cmdutil.findcmd(cmdname, mercurial.commands.table) 129 _, spec = mercurial.cmdutil.findcmd(cmdname, mercurial.commands.table)
132 return spec[1] 130 return spec[1]
133 131
134 132
135 EXT_OPTS = [ 133 EXT_OPTS = [
136 ('g', 'group', None, _('use a named group instead of all paths')), 134 ('g', 'group', '', _('use a named group instead of all paths')),
137 ('', 'ignore-errors', None, _('continue execution despite errors')), 135 ('', 'ignore-errors', None, _('continue execution despite errors')),
138 ] 136 ]
139 137
140 cmdtable = { 138 cmdtable = {
141 "pushall": ( 139 "pushall": (