tests/test-subrepo.t
branchstable
changeset 35165 27196b7fc1ac
parent 34989 1a314176da9c
child 35393 4441705b7111
equal deleted inserted replaced
35111:62539b425347 35165:27196b7fc1ac
  1069     "abspath": "foo",
  1069     "abspath": "foo",
  1070     "data": "test\ntest\n",
  1070     "data": "test\ntest\n",
  1071     "path": "sub/repo/foo"
  1071     "path": "sub/repo/foo"
  1072    }
  1072    }
  1073   ]
  1073   ]
       
  1074 
       
  1075  non-exact match:
       
  1076 
       
  1077   $ hg cat -T '{path}\n' 'glob:**'
       
  1078   .hgsub
       
  1079   .hgsubstate
       
  1080   sub/repo/foo (glob)
       
  1081   $ hg cat -T '{path}\n' 're:^sub'
       
  1082   sub/repo/foo (glob)
       
  1083 
       
  1084  missing subrepos in working directory:
       
  1085 
  1074   $ mkdir -p tmp/sub/repo
  1086   $ mkdir -p tmp/sub/repo
  1075   $ hg cat -r 0 --output tmp/%p_p sub/repo/foo
  1087   $ hg cat -r 0 --output tmp/%p_p sub/repo/foo
  1076   $ cat tmp/sub/repo/foo_p
  1088   $ cat tmp/sub/repo/foo_p
  1077   test
  1089   test
  1078   $ mv sub/repo sub_
  1090   $ mv sub/repo sub_