test-inhibit: simplify push destinations for Windows stable
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 01 Aug 2015 22:16:26 -0400
branchstable
changeset 1476 19c2405cb091
parent 1475 192bc96d0226
child 1477 6ab5c0f40699
child 1479 72eab894a89d
test-inhibit: simplify push destinations for Windows This was aborting because $pwd is expanding to 'C:/path/to/tests': - pushing to file://$TESTTMP/inhibit2 - abort: hidden revision '003a4735afde'! - (use --hidden to access hidden revisions) + abort: file:// URLs can only refer to localhost
tests/test-inhibit.t
--- a/tests/test-inhibit.t	Sat Aug 01 21:54:00 2015 -0400
+++ b/tests/test-inhibit.t	Sat Aug 01 22:16:26 2015 -0400
@@ -744,15 +744,15 @@
   71eb4f100663 tip
 
 Hidden commits cannot be pushed without --hidden
-  $ hg push -r 003a4735afde file://$pwd/inhibit2
-  pushing to file://$TESTTMP/inhibit2
+  $ hg push -r 003a4735afde $pwd/inhibit2
+  pushing to $TESTTMP/inhibit2
   abort: hidden revision '003a4735afde'!
   (use --hidden to access hidden revisions)
   [255]
 
 Visible commits can still be pushed
-  $ hg push -r 71eb4f100663 file://$pwd/inhibit2
-  pushing to file://$TESTTMP/inhibit2
+  $ hg push -r 71eb4f100663 $pwd/inhibit2
+  pushing to $TESTTMP/inhibit2
   searching for changes
   adding changesets
   adding manifests