# HG changeset patch # User Marcin Kasperski # Date 1474833775 -7200 # Node ID 55469dbb19c40f7dcad707e3cd8f836cf78034a9 # Parent d76b40291d10b20a844d09afcc83d34f4f8d1d39 testfixes diff -r d76b40291d10 -r 55469dbb19c4 drone.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drone.sh Sun Sep 25 22:02:55 2016 +0200 @@ -0,0 +1,4 @@ +# Copy of test recipe used on drone.io + +pip -q install tox +tox diff -r d76b40291d10 -r 55469dbb19c4 mercurial_all_paths.py --- a/mercurial_all_paths.py Sun Sep 25 21:42:51 2016 +0200 +++ b/mercurial_all_paths.py Sun Sep 25 22:02:55 2016 +0200 @@ -53,8 +53,6 @@ if not group: return _find_all_paths(ui, skip_ignored=True, sort_by_priority=True) - print "DBG:GRR", group - # „Modern” syntax grp_def = ui.configlist("all_paths", "group." + group) if grp_def: @@ -133,7 +131,7 @@ EXT_OPTS = [ - ('g', 'group', None, _('use a named group instead of all paths')), + ('g', 'group', '', _('use a named group instead of all paths')), ('', 'ignore-errors', None, _('continue execution despite errors')), ] diff -r d76b40291d10 -r 55469dbb19c4 tests/basic.t --- a/tests/basic.t Sun Sep 25 21:42:51 2016 +0200 +++ b/tests/basic.t Sun Sep 25 22:02:55 2016 +0200 @@ -185,19 +185,19 @@ Without remotes those commands do nothing $ hg --cwd $REP3 pullall - abort: No paths defined in section paths + abort: No paths defined for repository [255] $ hg --cwd $REP3 pushall - abort: No paths defined in section paths + abort: No paths defined for repository [255] $ hg --cwd $REP3 incomingall - abort: No paths defined in section paths + abort: No paths defined for repository [255] $ hg --cwd $REP3 outgoingall - abort: No paths defined in section paths + abort: No paths defined for repository [255] Finally let's test that push options work diff -r d76b40291d10 -r 55469dbb19c4 tests/groups-legacy.t --- a/tests/groups-legacy.t Sun Sep 25 21:42:51 2016 +0200 +++ b/tests/groups-legacy.t Sun Sep 25 22:02:55 2016 +0200 @@ -248,11 +248,11 @@ Neither do default commands without normal paths $ hg --cwd $BASE pushall - abort: No paths defined in section paths + abort: No paths defined for repository [255] $ hg --cwd $BASE pullall - abort: No paths defined in section paths + abort: No paths defined for repository [255] Finally let's test that push options work