##// END OF EJS Templates
revset: add tests for 'remote()' predicate
FUJIWARA Katsunori -
r16008:02a497a1 stable
parent child Browse files
Show More
@@ -476,6 +476,24 b' issue2549 - correct optimizations'
476 $ log 'min(1 or 2) and not 1'
476 $ log 'min(1 or 2) and not 1'
477 $ log 'last(1 or 2, 1) and not 2'
477 $ log 'last(1 or 2, 1) and not 2'
478
478
479 tests for 'remote()' predicate:
480 #. (csets in remote) (id) (remote)
481 1. less than local current branch "default"
482 2. same with local specified "default"
483 3. more than local specified specified
484
485 $ hg clone --quiet -U . ../remote3
486 $ cd ../remote3
487 $ hg update -q 7
488 $ echo r > r
489 $ hg ci -Aqm 10
490 $ log 'remote()'
491 7
492 $ log 'remote("a-b-c-")'
493 2
494 $ cd ../repo
495 $ log 'remote(".a.b.c.", "../remote3")'
496
479 $ cd ..
497 $ cd ..
480
498
481 test author/desc/keyword in problematic encoding
499 test author/desc/keyword in problematic encoding
General Comments 0
You need to be logged in to leave comments. Login now