tests/test-subrepo-paths.t
changeset 11961 f3075ffa6b30
parent 11959 be33381882ad
child 11964 79bd860b8eb7
equal deleted inserted replaced
11959:be33381882ad 11961:f3075ffa6b30
    11    source   http://example.net/libfoo
    11    source   http://example.net/libfoo
    12    revision 
    12    revision 
    13 
    13 
    14 hg debugsub with remapping
    14 hg debugsub with remapping
    15 
    15 
    16   $ cat > .hg/hgrc <<EOF
    16   $ echo '[subpaths]' > .hg/hgrc
    17   > [subpaths]
    17   $ echo 'http://example.net/lib(.*) = C:\libs\\1-lib\' >> .hg/hgrc
    18   > http://example.net = ssh://localhost
       
    19   > EOF
       
    20 
    18 
    21   $ hg debugsub
    19   $ hg debugsub
    22   path sub
    20   path sub
    23    source   ssh://localhost/libfoo
    21    source   C:\libs\foo-lib\
    24    revision 
    22    revision 
    25 
    23 
    26 test bad subpaths pattern
    24 test bad subpaths pattern
    27 
    25 
    28   $ cat > .hg/hgrc <<EOF
    26   $ cat > .hg/hgrc <<EOF