comparison tests/test-nested-repo.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 93452579df9e
children f2719b387380
comparison
equal deleted inserted replaced
15446:c5c9ca3719f9 15447:9910f60a37ee
9 $ hg st 9 $ hg st
10 10
11 Should fail: 11 Should fail:
12 12
13 $ hg st b/x 13 $ hg st b/x
14 abort: path 'b/x' is inside nested repo 'b' 14 abort: path 'b/x' is inside nested repo 'b' (glob)
15 [255] 15 [255]
16 $ hg add b/x 16 $ hg add b/x
17 abort: path 'b/x' is inside nested repo 'b' 17 abort: path 'b/x' is inside nested repo 'b' (glob)
18 [255] 18 [255]
19 19
20 Should fail: 20 Should fail:
21 21
22 $ hg add b b/x 22 $ hg add b b/x
23 abort: path 'b/x' is inside nested repo 'b' 23 abort: path 'b/x' is inside nested repo 'b' (glob)
24 [255] 24 [255]
25 $ hg st 25 $ hg st
26 26
27 Should arguably print nothing: 27 Should arguably print nothing:
28 28
32 $ hg ci -Ama a 32 $ hg ci -Ama a
33 33
34 Should fail: 34 Should fail:
35 35
36 $ hg mv a b 36 $ hg mv a b
37 abort: path 'b/a' is inside nested repo 'b' 37 abort: path 'b/a' is inside nested repo 'b' (glob)
38 [255] 38 [255]
39 $ hg st 39 $ hg st
40 40