tests/test-revset.t
branchstable
changeset 17858 acd4577a568d
parent 17753 69d5078d760d
child 18473 692cbda1eb50
equal deleted inserted replaced
17857:8ef4b022d562 17858:acd4577a568d
   747   $ log 'limit(1 or 2 or 3, 2) and not 2'
   747   $ log 'limit(1 or 2 or 3, 2) and not 2'
   748   1
   748   1
   749   $ log 'max(1 or 2) and not 2'
   749   $ log 'max(1 or 2) and not 2'
   750   $ log 'min(1 or 2) and not 1'
   750   $ log 'min(1 or 2) and not 1'
   751   $ log 'last(1 or 2, 1) and not 2'
   751   $ log 'last(1 or 2, 1) and not 2'
       
   752 
       
   753 test revsets started with 40-chars hash (issue3669)
       
   754 
       
   755   $ ISSUE3669_TIP=`hg tip --template '{node}'`
       
   756   $ hg log -r "${ISSUE3669_TIP}" --template '{rev}\n'
       
   757   9
       
   758   $ hg log -r "${ISSUE3669_TIP}^" --template '{rev}\n'
       
   759   8
   752 
   760 
   753 tests for 'remote()' predicate:
   761 tests for 'remote()' predicate:
   754 #.  (csets in remote) (id)            (remote)
   762 #.  (csets in remote) (id)            (remote)
   755 1.  less than local   current branch  "default"
   763 1.  less than local   current branch  "default"
   756 2.  same with local   specified       "default"
   764 2.  same with local   specified       "default"