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

login
register
mail settings
Submitter Matt Harbison
Date Feb. 17, 2019, 3:58 a.m.
Message ID <99ed0ac693fb7c6045ec.1550375930@Envy>
Download mbox | patch
Permalink /patch/38797/
State Accepted
Headers show

Comments

Matt Harbison - Feb. 17, 2019, 3:58 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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.
Augie Fackler - Feb. 19, 2019, 3:30 p.m.
On Sat, Feb 16, 2019 at 10:58:50PM -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@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

queued, thanks

Patch

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)