Mercurial > evolve
changeset 1476:19c2405cb091 stable
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
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 01 Aug 2015 22:16:26 -0400 |
parents | 192bc96d0226 |
children | 6ab5c0f40699 72eab894a89d |
files | tests/test-inhibit.t |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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