comparison tests/test-default-push.t @ 15447:9910f60a37ee

tests: make (glob) on windows accept \ instead of / Globbing is usually used for filenames, so on windows it is reasonable and very convenient that glob patterns accepts '\' or '/' when the pattern specifies '/'.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 07 Nov 2011 03:25:10 +0100
parents 6cc4b14fb76b
children c4f45ce85351
comparison
equal deleted inserted replaced
15446:c5c9ca3719f9 15447:9910f60a37ee
16 $ hg --cwd b ci -mb 16 $ hg --cwd b ci -mb
17 17
18 Push should push to 'default' when 'default-push' not set: 18 Push should push to 'default' when 'default-push' not set:
19 19
20 $ hg --cwd b push 20 $ hg --cwd b push
21 pushing to $TESTTMP/a 21 pushing to $TESTTMP/a (glob)
22 searching for changes 22 searching for changes
23 adding changesets 23 adding changesets
24 adding manifests 24 adding manifests
25 adding file changes 25 adding file changes
26 added 1 changesets with 1 changes to 1 files 26 added 1 changesets with 1 changes to 1 files
27 27
28 Push should push to 'default-push' when set: 28 Push should push to 'default-push' when set:
29 29
30 $ echo 'default-push = ../c' >> b/.hg/hgrc 30 $ echo 'default-push = ../c' >> b/.hg/hgrc
31 $ hg --cwd b push 31 $ hg --cwd b push
32 pushing to $TESTTMP/c 32 pushing to $TESTTMP/c (glob)
33 searching for changes 33 searching for changes
34 adding changesets 34 adding changesets
35 adding manifests 35 adding manifests
36 adding file changes 36 adding file changes
37 added 1 changesets with 1 changes to 1 files 37 added 1 changesets with 1 changes to 1 files