tests/test-revset.t
branchstable
changeset 16008 02a497a17257
parent 15726 9b822edecb4c
child 16096 b8be450638f6
child 16394 f3df7d34791e
equal deleted inserted replaced
16007:f06c53ca59a9 16008:02a497a17257
   473   $ log 'limit(1 or 2 or 3, 2) and not 2'
   473   $ log 'limit(1 or 2 or 3, 2) and not 2'
   474   1
   474   1
   475   $ log 'max(1 or 2) and not 2'
   475   $ log 'max(1 or 2) and not 2'
   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 
       
   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")'
   478 
   496 
   479   $ cd ..
   497   $ cd ..
   480 
   498 
   481 test author/desc/keyword in problematic encoding
   499 test author/desc/keyword in problematic encoding
   482 # unicode: cp932:
   500 # unicode: cp932: