[PATCH] run-tests: automatically add (glob) to "saved backup bundle to" lines

Matt Mackall mpm at selenic.com
Fri Jan 2 15:00:39 CST 2015


On Fri, 2015-01-02 at 03:25 +0100, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1417050270 -3600
> #      Thu Nov 27 02:04:30 2014 +0100
> # Node ID cad71687625a2776ee098ed399c2ed2ae774d130
> # Parent  9a02f75179390b109da0b9e2af6a7506c087f762
> run-tests: automatically add (glob) to "saved backup bundle to" lines

> +            (r'(saved backup bundle to .*\.hg)( \(glob\))?',
> +             lambda m: m.group(1) + ' (glob)'),

Queued with the following simplification, thanks:

diff -r 171653dc8906 tests/run-tests.py
--- a/tests/run-tests.py	Thu Nov 27 02:04:30 2014 +0100
+++ b/tests/run-tests.py	Fri Jan 02 14:59:28 2015 -0600
@@ -628,7 +628,7 @@
             (r':%s\b' % (self._startport + 1), ':$HGPORT1'),
             (r':%s\b' % (self._startport + 2), ':$HGPORT2'),
             (r'(saved backup bundle to .*\.hg)( \(glob\))?',
-             lambda m: m.group(1) + ' (glob)'),
+             r'\1 (glob)'),
             ]
 
         if os.name == 'nt':

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list