[PATCH 2 of 2] tests: conditionalize msys path mangling in test-bundle.t

Matt Harbison mharbison72 at gmail.com
Sat Feb 16 22:58:50 EST 2019


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1550372638 18000
#      Sat Feb 16 22:03:58 2019 -0500
# Node ID 99ed0ac693fb7c6045ecf69cf17909e8dc48a85a
# Parent  f1646b79dafcca63a5681713da6e7b9db5d71afa
tests: conditionalize msys path mangling in test-bundle.t

This broke in 252cc56c9ff6 when the variables were printed one per line.  The
only reason I can think of is that MSYS knew the former string couldn't be a
list of paths, but thinks this form is.

diff --git a/tests/test-bundle.t b/tests/test-bundle.t
--- a/tests/test-bundle.t
+++ b/tests/test-bundle.t
@@ -222,6 +222,7 @@ Pull ../full.hg into empty (with hook)
   > EOF
 
 doesn't work (yet ?)
+NOTE: msys is mangling the URL below
 
 hg -R bundle://../full.hg verify
 
@@ -239,7 +240,8 @@ hg -R bundle://../full.hg verify
   HG_NODE_LAST=aa35859c02ea8bd48da5da68cd2740ac71afcbaf
   HG_SOURCE=pull
   HG_TXNID=TXN:$ID$
-  HG_URL=bundle:../full.hg
+  HG_URL=bundle:../full.hg (no-msys !)
+  HG_URL=bundle;../full.hg (msys !)
   
   (run 'hg heads' to see heads, 'hg merge' to merge)
 


More information about the Mercurial-devel mailing list