Mercurial > hg-allpaths
comparison allpaths.py @ 11:e702b63eea3f
Making it obvious that we scan paths section
author | Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> |
---|---|
date | Sun, 08 Nov 2015 09:01:49 +0100 |
parents | dac7580bfff2 |
children | bed42905e871 |
comparison
equal
deleted
inserted
replaced
10:62880e909417 | 11:e702b63eea3f |
---|---|
14 | 14 |
15 | 15 |
16 def _iter_over_paths(command, ui, repo, **opts): | 16 def _iter_over_paths(command, ui, repo, **opts): |
17 """execute given command on multiple paths""" | 17 """execute given command on multiple paths""" |
18 # Extract our options and filter them out | 18 # Extract our options and filter them out |
19 group = opts.pop('group', None) | 19 group = opts.pop('group', None) or 'paths' |
20 ignore_errors = opts.pop('ignore_errors', None) | 20 ignore_errors = opts.pop('ignore_errors', None) |
21 | 21 |
22 # Get the paths to push to. | 22 # Get the paths to push to. |
23 paths = ui.configitems(group) | 23 paths = ui.configitems(group) |
24 if not paths: | 24 if not paths: |