Mercurial > hg
comparison tests/test-largefiles-misc.t @ 35252:5d176979eb13
tests: remove shell function helper from test-largefiles-misc
Now that all the complexity is in a Python script, we can just
directly invoke the tool.
Differential Revision: https://phab.mercurial-scm.org/D1599
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 05 Dec 2017 16:58:00 -0500 |
parents | aa905f9cdcda |
children | 4441705b7111 |
comparison
equal
deleted
inserted
replaced
35251:91a7204631f1 | 35252:5d176979eb13 |
---|---|
1092 reverting subrepo no-largefiles | 1092 reverting subrepo no-largefiles |
1093 reverting subrepo-root/no-largefiles/normal1 (glob) | 1093 reverting subrepo-root/no-largefiles/normal1 (glob) |
1094 | 1094 |
1095 Move (and then undo) a directory move with only largefiles. | 1095 Move (and then undo) a directory move with only largefiles. |
1096 | 1096 |
1097 $ listtree() { | |
1098 > $PYTHON $TESTDIR/list-tree.py $@ | |
1099 > } | |
1100 | |
1101 $ cd subrepo-root | 1097 $ cd subrepo-root |
1102 $ listtree .hglf dir* large* | 1098 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1103 .hglf/ | 1099 .hglf/ |
1104 .hglf/dir/ | 1100 .hglf/dir/ |
1105 .hglf/dir/subdir/ | 1101 .hglf/dir/subdir/ |
1106 .hglf/dir/subdir/large.bin | 1102 .hglf/dir/subdir/large.bin |
1107 .hglf/large | 1103 .hglf/large |
1112 large.orig | 1108 large.orig |
1113 | 1109 |
1114 $ hg mv dir/subdir dir/subdir2 | 1110 $ hg mv dir/subdir dir/subdir2 |
1115 moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) | 1111 moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) |
1116 | 1112 |
1117 $ listtree .hglf dir* large* | 1113 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1118 .hglf/ | 1114 .hglf/ |
1119 .hglf/dir/ | 1115 .hglf/dir/ |
1120 .hglf/dir/subdir2/ | 1116 .hglf/dir/subdir2/ |
1121 .hglf/dir/subdir2/large.bin | 1117 .hglf/dir/subdir2/large.bin |
1122 .hglf/large | 1118 .hglf/large |
1152 $ cat dir/subdir2/large.bin | 1148 $ cat dir/subdir2/large.bin |
1153 modified | 1149 modified |
1154 | 1150 |
1155 The standin for subdir2 should be deleted, not just dropped | 1151 The standin for subdir2 should be deleted, not just dropped |
1156 | 1152 |
1157 $ listtree .hglf dir* large* | 1153 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1158 .hglf/ | 1154 .hglf/ |
1159 .hglf/dir/ | 1155 .hglf/dir/ |
1160 .hglf/dir/subdir/ | 1156 .hglf/dir/subdir/ |
1161 .hglf/dir/subdir/large.bin | 1157 .hglf/dir/subdir/large.bin |
1162 .hglf/large | 1158 .hglf/large |
1179 A dir/subdir2/large.bin | 1175 A dir/subdir2/large.bin |
1180 dir/subdir/large.bin | 1176 dir/subdir/large.bin |
1181 R dir/subdir/large.bin | 1177 R dir/subdir/large.bin |
1182 ? large.orig | 1178 ? large.orig |
1183 | 1179 |
1184 $ listtree .hglf dir* large* | 1180 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1185 .hglf/ | 1181 .hglf/ |
1186 .hglf/dir/ | 1182 .hglf/dir/ |
1187 .hglf/dir/subdir2/ | 1183 .hglf/dir/subdir2/ |
1188 .hglf/dir/subdir2/large.bin | 1184 .hglf/dir/subdir2/large.bin |
1189 .hglf/large | 1185 .hglf/large |
1204 $ hg status -C | 1200 $ hg status -C |
1205 A dir2/subdir/large.bin | 1201 A dir2/subdir/large.bin |
1206 dir/subdir/large.bin | 1202 dir/subdir/large.bin |
1207 R dir/subdir/large.bin | 1203 R dir/subdir/large.bin |
1208 | 1204 |
1209 $ listtree .hglf dir* large* | 1205 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1210 .hglf/ | 1206 .hglf/ |
1211 .hglf/dir2/ | 1207 .hglf/dir2/ |
1212 .hglf/dir2/subdir/ | 1208 .hglf/dir2/subdir/ |
1213 .hglf/dir2/subdir/large.bin | 1209 .hglf/dir2/subdir/large.bin |
1214 .hglf/large | 1210 .hglf/large |
1223 reverting subrepo no-largefiles | 1219 reverting subrepo no-largefiles |
1224 | 1220 |
1225 $ hg status -C | 1221 $ hg status -C |
1226 ? dir2/subdir/large.bin | 1222 ? dir2/subdir/large.bin |
1227 | 1223 |
1228 $ listtree .hglf dir* large* | 1224 $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
1229 .hglf/ | 1225 .hglf/ |
1230 .hglf/dir/ | 1226 .hglf/dir/ |
1231 .hglf/dir/subdir/ | 1227 .hglf/dir/subdir/ |
1232 .hglf/dir/subdir/large.bin | 1228 .hglf/dir/subdir/large.bin |
1233 .hglf/large | 1229 .hglf/large |