Show More
@@ -25,3 +25,23 b'' | |||||
25 | $ SOMETHING=/foo hg paths |
|
25 | $ SOMETHING=/foo hg paths | |
26 | dupe = $TESTTMP/b |
|
26 | dupe = $TESTTMP/b | |
27 | expand = /foo/bar |
|
27 | expand = /foo/bar | |
|
28 | $ cd .. | |||
|
29 | ||||
|
30 | 'file:' disables [paths] entries for clone destination | |||
|
31 | ||||
|
32 | $ cat >> $HGRCPATH <<EOF | |||
|
33 | > [paths] | |||
|
34 | > gpath1 = http://hg.example.com | |||
|
35 | > EOF | |||
|
36 | ||||
|
37 | $ hg clone a gpath1 | |||
|
38 | abort: cannot create new http repository | |||
|
39 | [255] | |||
|
40 | ||||
|
41 | $ hg clone a file:gpath1 | |||
|
42 | updating to branch default | |||
|
43 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
44 | $ cd gpath1 | |||
|
45 | $ hg -q id | |||
|
46 | 000000000000 | |||
|
47 |
General Comments 0
You need to be logged in to leave comments.
Login now