418 $ hg files -r . b |
418 $ hg files -r . b |
419 b/bar/fruits.txt (glob) |
419 b/bar/fruits.txt (glob) |
420 b/bar/orange/fly/gnat.py (glob) |
420 b/bar/orange/fly/gnat.py (glob) |
421 b/bar/orange/fly/housefly.txt (glob) |
421 b/bar/orange/fly/housefly.txt (glob) |
422 b/foo/apple/bees/flower.py (glob) |
422 b/foo/apple/bees/flower.py (glob) |
423 $ cp -r .hg/store-copy/* .hg/store |
423 $ cp -r .hg/store-copy/. .hg/store |
424 |
424 |
425 Test files with just includes and excludes. |
425 Test files with just includes and excludes. |
426 |
426 |
427 $ rm -r .hg/store/meta/~2e_a |
427 $ rm -r .hg/store/meta/~2e_a |
428 $ rm -r .hg/store/meta/b/bar/orange/fly |
428 $ rm -r .hg/store/meta/b/bar/orange/fly |
429 $ rm -r .hg/store/meta/b/foo/apple/bees |
429 $ rm -r .hg/store/meta/b/foo/apple/bees |
430 $ hg files -r . -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees |
430 $ hg files -r . -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees |
431 b/bar/fruits.txt (glob) |
431 b/bar/fruits.txt (glob) |
432 $ cp -r .hg/store-copy/* .hg/store |
432 $ cp -r .hg/store-copy/. .hg/store |
433 |
433 |
434 Test files for a subdirectory, excluding a directory within it. |
434 Test files for a subdirectory, excluding a directory within it. |
435 |
435 |
436 $ rm -r .hg/store/meta/~2e_a |
436 $ rm -r .hg/store/meta/~2e_a |
437 $ rm -r .hg/store/meta/b/foo |
437 $ rm -r .hg/store/meta/b/foo |
438 $ hg files -r . -X path:b/foo b |
438 $ hg files -r . -X path:b/foo b |
439 b/bar/fruits.txt (glob) |
439 b/bar/fruits.txt (glob) |
440 b/bar/orange/fly/gnat.py (glob) |
440 b/bar/orange/fly/gnat.py (glob) |
441 b/bar/orange/fly/housefly.txt (glob) |
441 b/bar/orange/fly/housefly.txt (glob) |
442 $ cp -r .hg/store-copy/* .hg/store |
442 $ cp -r .hg/store-copy/. .hg/store |
443 |
443 |
444 Test files for a sub directory, including only a directory within it, and |
444 Test files for a sub directory, including only a directory within it, and |
445 including an unrelated directory. |
445 including an unrelated directory. |
446 |
446 |
447 $ rm -r .hg/store/meta/~2e_a |
447 $ rm -r .hg/store/meta/~2e_a |
448 $ rm -r .hg/store/meta/b/foo |
448 $ rm -r .hg/store/meta/b/foo |
449 $ hg files -r . -I path:b/bar/orange -I path:a b |
449 $ hg files -r . -I path:b/bar/orange -I path:a b |
450 b/bar/orange/fly/gnat.py (glob) |
450 b/bar/orange/fly/gnat.py (glob) |
451 b/bar/orange/fly/housefly.txt (glob) |
451 b/bar/orange/fly/housefly.txt (glob) |
452 $ cp -r .hg/store-copy/* .hg/store |
452 $ cp -r .hg/store-copy/. .hg/store |
453 |
453 |
454 Test files for a pattern, including a directory, and excluding a directory |
454 Test files for a pattern, including a directory, and excluding a directory |
455 within that. |
455 within that. |
456 |
456 |
457 $ rm -r .hg/store/meta/~2e_a |
457 $ rm -r .hg/store/meta/~2e_a |
458 $ rm -r .hg/store/meta/b/foo |
458 $ rm -r .hg/store/meta/b/foo |
459 $ rm -r .hg/store/meta/b/bar/orange |
459 $ rm -r .hg/store/meta/b/bar/orange |
460 $ hg files -r . glob:**.txt -I path:b/bar -X path:b/bar/orange |
460 $ hg files -r . glob:**.txt -I path:b/bar -X path:b/bar/orange |
461 b/bar/fruits.txt (glob) |
461 b/bar/fruits.txt (glob) |
462 $ cp -r .hg/store-copy/* .hg/store |
462 $ cp -r .hg/store-copy/. .hg/store |
463 |
463 |
464 Add some more changes to the deep repo |
464 Add some more changes to the deep repo |
465 $ echo narf >> b/bar/fruits.txt |
465 $ echo narf >> b/bar/fruits.txt |
466 $ hg ci -m narf |
466 $ hg ci -m narf |
467 $ echo troz >> b/bar/orange/fly/gnat.py |
467 $ echo troz >> b/bar/orange/fly/gnat.py |