Now that all the complexity is in a Python script, we can just
directly invoke the tool.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Now that all the complexity is in a Python script, we can just
directly invoke the tool.
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | tests/test-largefiles-misc.t (16 lines) |
| [1] | [1] | ||||
| $ hg -R subrepo-root revert --all | $ hg -R subrepo-root revert --all | ||||
| reverting subrepo-root/.hglf/large (glob) | reverting subrepo-root/.hglf/large (glob) | ||||
| reverting subrepo no-largefiles | reverting subrepo no-largefiles | ||||
| reverting subrepo-root/no-largefiles/normal1 (glob) | reverting subrepo-root/no-largefiles/normal1 (glob) | ||||
| Move (and then undo) a directory move with only largefiles. | Move (and then undo) a directory move with only largefiles. | ||||
| $ listtree() { | |||||
| > $PYTHON $TESTDIR/list-tree.py $@ | |||||
| > } | |||||
| $ cd subrepo-root | $ cd subrepo-root | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir/ | .hglf/dir/ | ||||
| .hglf/dir/subdir/ | .hglf/dir/subdir/ | ||||
| .hglf/dir/subdir/large.bin | .hglf/dir/subdir/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir/ | dir/ | ||||
| dir/subdir/ | dir/subdir/ | ||||
| dir/subdir/large.bin | dir/subdir/large.bin | ||||
| large | large | ||||
| large.orig | large.orig | ||||
| $ hg mv dir/subdir dir/subdir2 | $ hg mv dir/subdir dir/subdir2 | ||||
| moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) | moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir/ | .hglf/dir/ | ||||
| .hglf/dir/subdir2/ | .hglf/dir/subdir2/ | ||||
| .hglf/dir/subdir2/large.bin | .hglf/dir/subdir2/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir/ | dir/ | ||||
| dir/subdir2/ | dir/subdir2/ | ||||
| dir/subdir2/large.bin | dir/subdir2/large.bin | ||||
| The content of the forgotten file shouldn't be clobbered | The content of the forgotten file shouldn't be clobbered | ||||
| $ cat dir/subdir2/large.bin | $ cat dir/subdir2/large.bin | ||||
| modified | modified | ||||
| The standin for subdir2 should be deleted, not just dropped | The standin for subdir2 should be deleted, not just dropped | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir/ | .hglf/dir/ | ||||
| .hglf/dir/subdir/ | .hglf/dir/subdir/ | ||||
| .hglf/dir/subdir/large.bin | .hglf/dir/subdir/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir/ | dir/ | ||||
| dir/subdir/ | dir/subdir/ | ||||
| dir/subdir/large.bin | dir/subdir/large.bin | ||||
| moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) | moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob) | ||||
| $ hg status -C | $ hg status -C | ||||
| A dir/subdir2/large.bin | A dir/subdir2/large.bin | ||||
| dir/subdir/large.bin | dir/subdir/large.bin | ||||
| R dir/subdir/large.bin | R dir/subdir/large.bin | ||||
| ? large.orig | ? large.orig | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir/ | .hglf/dir/ | ||||
| .hglf/dir/subdir2/ | .hglf/dir/subdir2/ | ||||
| .hglf/dir/subdir2/large.bin | .hglf/dir/subdir2/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir/ | dir/ | ||||
| dir/subdir2/ | dir/subdir2/ | ||||
| dir/subdir2/large.bin | dir/subdir2/large.bin | ||||
| large | large | ||||
| large.orig | large.orig | ||||
| Start from scratch, and rename something other than the final path component. | Start from scratch, and rename something other than the final path component. | ||||
| $ hg up -qC . | $ hg up -qC . | ||||
| $ hg --config extensions.purge= purge | $ hg --config extensions.purge= purge | ||||
| $ hg mv dir/subdir dir2/subdir | $ hg mv dir/subdir dir2/subdir | ||||
| moving .hglf/dir/subdir/large.bin to .hglf/dir2/subdir/large.bin (glob) | moving .hglf/dir/subdir/large.bin to .hglf/dir2/subdir/large.bin (glob) | ||||
| $ hg status -C | $ hg status -C | ||||
| A dir2/subdir/large.bin | A dir2/subdir/large.bin | ||||
| dir/subdir/large.bin | dir/subdir/large.bin | ||||
| R dir/subdir/large.bin | R dir/subdir/large.bin | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir2/ | .hglf/dir2/ | ||||
| .hglf/dir2/subdir/ | .hglf/dir2/subdir/ | ||||
| .hglf/dir2/subdir/large.bin | .hglf/dir2/subdir/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir2/ | dir2/ | ||||
| dir2/subdir/ | dir2/subdir/ | ||||
| dir2/subdir/large.bin | dir2/subdir/large.bin | ||||
| large | large | ||||
| $ hg revert --all | $ hg revert --all | ||||
| undeleting .hglf/dir/subdir/large.bin (glob) | undeleting .hglf/dir/subdir/large.bin (glob) | ||||
| forgetting .hglf/dir2/subdir/large.bin (glob) | forgetting .hglf/dir2/subdir/large.bin (glob) | ||||
| reverting subrepo no-largefiles | reverting subrepo no-largefiles | ||||
| $ hg status -C | $ hg status -C | ||||
| ? dir2/subdir/large.bin | ? dir2/subdir/large.bin | ||||
| $ listtree .hglf dir* large* | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | ||||
| .hglf/ | .hglf/ | ||||
| .hglf/dir/ | .hglf/dir/ | ||||
| .hglf/dir/subdir/ | .hglf/dir/subdir/ | ||||
| .hglf/dir/subdir/large.bin | .hglf/dir/subdir/large.bin | ||||
| .hglf/large | .hglf/large | ||||
| dir/ | dir/ | ||||
| dir/subdir/ | dir/subdir/ | ||||
| dir/subdir/large.bin | dir/subdir/large.bin | ||||