# HG changeset patch # User mr # Date 1520365755 28800 # Node ID 339764362f7298c267b2456ebc2ba1339d0e27c6 # Parent c3cf999f99ee0e80c33671f38eaea8e762541c86 Don't test release candidates, or tip diff -r c3cf999f99ee -r 339764362f72 tests/hgext-test.gmk --- a/tests/hgext-test.gmk Tue Mar 06 11:49:15 2018 -0800 +++ b/tests/hgext-test.gmk Tue Mar 06 11:49:15 2018 -0800 @@ -139,6 +139,8 @@ # Run the tests with multiple hg versions. test-hg-versions: ${HG_REPO}/${changelog} ${VERLIST_TARGETS} +show-versions: ; @echo $(notdir ${VERLIST_TARGETS}) + # The tags in the mercurial repo (aside from tip) do not change, so no need to # retest with old hg versions unless trees.py has changed. Use .hg/requires # as a dependency to trigger a clone if it doesn't exist (using ${HG_REPO} diff -r c3cf999f99ee -r 339764362f72 tests/verlist.py --- a/tests/verlist.py Tue Mar 06 11:49:15 2018 -0800 +++ b/tests/verlist.py Tue Mar 06 11:49:15 2018 -0800 @@ -97,6 +97,10 @@ for revspec in pats or [':']: tags += _verlist(repo, revspec) tags = [x[0] for x in tags] # Just the tag names + + # Skip release candidates, and tip + tags = filter(lambda t: not t.endswith('-rc') and t != "tip", tags) + if opts.get('lastmicro'): tags = _lastmicro(tags) ui.write(' '.join(tags))