Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Mon, 23 Jan 2012 16:21:12 +0100
changeset 1047 cac01b4e4a6c
parent 1042 91e083fab1a3 (current diff)
parent 1046 2890e1f3d8e4 (diff)
child 1050 a0451f80f665
Merge with stable
--- a/tests/run-tests.py	Sun Jan 15 13:37:33 2012 +0100
+++ b/tests/run-tests.py	Mon Jan 23 16:21:12 2012 +0100
@@ -98,7 +98,7 @@
     'jobs': ('HGTEST_JOBS', 1),
     'timeout': ('HGTEST_TIMEOUT', 180),
     'port': ('HGTEST_PORT', 20059),
-    'shell': ('HGTEST_SHELL', '/bin/sh'),
+    'shell': ('HGTEST_SHELL', 'sh'),
 }
 
 def parselistfiles(files, listtype, warn=True):
@@ -200,6 +200,7 @@
         options.pure = True
 
     if options.with_hg:
+        options.with_hg = os.path.expanduser(options.with_hg)
         if not (os.path.isfile(options.with_hg) and
                 os.access(options.with_hg, os.X_OK)):
             parser.error('--with-hg must specify an executable hg script')
@@ -598,6 +599,8 @@
     f.close()
 
     script = []
+    if options.debug:
+        script.append('set -x\n')
     if os.getenv('MSYSTEM'):
         script.append('alias pwd="pwd -W"\n')
     for n, l in enumerate(t):
--- a/tests/test-keyword.t	Sun Jan 15 13:37:33 2012 +0100
+++ b/tests/test-keyword.t	Mon Jan 23 16:21:12 2012 +0100
@@ -556,6 +556,7 @@
 Commit and show expansion in original and copy
 
   $ hg --debug commit -ma2c -d '1 0' -u 'User Name <user@example.com>'
+  invalidating branch cache (tip differs)
   c
    c: copy a:0045e12f6c5791aac80ca6cbfd97709a88307292
   overwriting c expanding keywords