Mercurial > hg
comparison tests/test-paths.t @ 13797:16d5e80876de
test-paths.t: 'file:' disables [paths] entries for clone dest
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Tue, 29 Mar 2011 19:20:28 +0200 |
parents | 7285b2824fb7 |
children | 3b9a896af09c |
comparison
equal
deleted
inserted
replaced
13796:6337149fc07c | 13797:16d5e80876de |
---|---|
23 dupe = $TESTTMP/b | 23 dupe = $TESTTMP/b |
24 expand = $TESTTMP/a/foo/bar | 24 expand = $TESTTMP/a/foo/bar |
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 |