Show More
@@ -773,7 +773,7 b' Test that rebase is not confused by $CWD' | |||||
773 | $ hg rebase -b . -d 1 --traceback |
|
773 | $ hg rebase -b . -d 1 --traceback | |
774 | rebasing 2:779a07b1b7a0 "first source commit" |
|
774 | rebasing 2:779a07b1b7a0 "first source commit" | |
775 | rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip) |
|
775 | rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip) | |
776 |
saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073- |
|
776 | saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-rebase.hg (glob) | |
777 | #endif |
|
777 | #endif | |
778 |
|
778 | |||
779 | Get back to the root of cwd-vanish. Note that even though `cd ..` |
|
779 | Get back to the root of cwd-vanish. Note that even though `cd ..` |
@@ -246,6 +246,8 b' warning message can be suppressed by set' | |||||
246 |
|
246 | |||
247 | $ cd .. |
|
247 | $ cd .. | |
248 |
|
248 | |||
|
249 | #if unix-permissions | |||
|
250 | ||||
249 | Test file permissions changing across a sparse profile change |
|
251 | Test file permissions changing across a sparse profile change | |
250 | $ hg init sparseperm |
|
252 | $ hg init sparseperm | |
251 | $ cd sparseperm |
|
253 | $ cd sparseperm | |
@@ -270,3 +272,4 b' Test file permissions changing across a ' | |||||
270 | $ ls -l b |
|
272 | $ ls -l b | |
271 | -rwxr-xr-x* b (glob) |
|
273 | -rwxr-xr-x* b (glob) | |
272 |
|
274 | |||
|
275 | #endif |
@@ -27,12 +27,24 b' Verify basic --include' | |||||
27 |
|
27 | |||
28 | Absolute paths outside the repo should just be rejected |
|
28 | Absolute paths outside the repo should just be rejected | |
29 |
|
29 | |||
|
30 | #if no-windows | |||
30 | $ hg debugsparse --include /foo/bar |
|
31 | $ hg debugsparse --include /foo/bar | |
31 | warning: paths cannot start with /, ignoring: ['/foo/bar'] |
|
32 | warning: paths cannot start with /, ignoring: ['/foo/bar'] | |
32 | $ hg debugsparse --include '$TESTTMP/myrepo/hide' |
|
33 | $ hg debugsparse --include '$TESTTMP/myrepo/hide' | |
33 |
|
34 | |||
34 | $ hg debugsparse --include '/root' |
|
35 | $ hg debugsparse --include '/root' | |
35 | warning: paths cannot start with /, ignoring: ['/root'] |
|
36 | warning: paths cannot start with /, ignoring: ['/root'] | |
|
37 | #else | |||
|
38 | TODO: See if this can be made to fail the same way as on Unix | |||
|
39 | $ hg debugsparse --include /c/foo/bar | |||
|
40 | abort: c:/foo/bar not under root '$TESTTMP/myrepo' (glob) | |||
|
41 | [255] | |||
|
42 | $ hg debugsparse --include '$TESTTMP/myrepo/hide' | |||
|
43 | ||||
|
44 | $ hg debugsparse --include '/c/root' | |||
|
45 | abort: c:/root not under root '$TESTTMP/myrepo' (glob) | |||
|
46 | [255] | |||
|
47 | #endif | |||
36 |
|
48 | |||
37 | Verify commiting while sparse includes other files |
|
49 | Verify commiting while sparse includes other files | |
38 |
|
50 |
General Comments 0
You need to be logged in to leave comments.
Login now