equal
deleted
inserted
replaced
36 0: add d0/f |
36 0: add d0/f |
37 $ cd .. |
37 $ cd .. |
38 |
38 |
39 Error if '.' or '..' are in the directory to track. |
39 Error if '.' or '..' are in the directory to track. |
40 $ hg clone --narrow ssh://user@dummy/master foo --include ./asdf |
40 $ hg clone --narrow ssh://user@dummy/master foo --include ./asdf |
41 requesting all changes |
|
42 abort: "." and ".." are not allowed in narrowspec paths |
41 abort: "." and ".." are not allowed in narrowspec paths |
43 [255] |
42 [255] |
44 $ hg clone --narrow ssh://user@dummy/master foo --include asdf/.. |
43 $ hg clone --narrow ssh://user@dummy/master foo --include asdf/.. |
45 requesting all changes |
|
46 abort: "." and ".." are not allowed in narrowspec paths |
44 abort: "." and ".." are not allowed in narrowspec paths |
47 [255] |
45 [255] |
48 $ hg clone --narrow ssh://user@dummy/master foo --include a/./c |
46 $ hg clone --narrow ssh://user@dummy/master foo --include a/./c |
49 requesting all changes |
|
50 abort: "." and ".." are not allowed in narrowspec paths |
47 abort: "." and ".." are not allowed in narrowspec paths |
51 [255] |
48 [255] |
52 |
49 |
53 Names with '.' in them are OK. |
50 Names with '.' in them are OK. |
54 $ hg clone --narrow ssh://user@dummy/master should-work --include a/.b/c |
51 $ hg clone --narrow ssh://user@dummy/master should-work --include a/.b/c |