tests/test-paths.t
changeset 12662 7285b2824fb7
parent 12640 6cc4b14fb76b
child 13797 16d5e80876de
equal deleted inserted replaced
12660:6ed5ae6264c2 12662:7285b2824fb7
     3   updating to branch default
     3   updating to branch default
     4   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
     4   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
     5   $ cd a
     5   $ cd a
     6   $ echo '[paths]' >> .hg/hgrc
     6   $ echo '[paths]' >> .hg/hgrc
     7   $ echo 'dupe = ../b' >> .hg/hgrc
     7   $ echo 'dupe = ../b' >> .hg/hgrc
       
     8   $ echo 'expand = $SOMETHING/bar' >> .hg/hgrc
     8   $ hg in dupe
     9   $ hg in dupe
     9   comparing with $TESTTMP/b
    10   comparing with $TESTTMP/b
    10   no changes found
    11   no changes found
    11   [1]
    12   [1]
    12   $ cd ..
    13   $ cd ..
    13   $ hg -R a in dupe
    14   $ hg -R a in dupe
    14   comparing with $TESTTMP/b
    15   comparing with $TESTTMP/b
    15   no changes found
    16   no changes found
    16   [1]
    17   [1]
       
    18   $ cd a
       
    19   $ hg paths
       
    20   dupe = $TESTTMP/b
       
    21   expand = $TESTTMP/a/$SOMETHING/bar
       
    22   $ SOMETHING=foo hg paths
       
    23   dupe = $TESTTMP/b
       
    24   expand = $TESTTMP/a/foo/bar
       
    25   $ SOMETHING=/foo hg paths
       
    26   dupe = $TESTTMP/b
       
    27   expand = /foo/bar