tests/test-logexchange.t
changeset 48128 5ced12cfa41b
parent 47952 0c92cd9286ee
equal deleted inserted replaced
48127:b067d22dc6ad 48128:5ced12cfa41b
   478 
   478 
   479 Testing for a literal name which does not exists, which should fail.
   479 Testing for a literal name which does not exists, which should fail.
   480 
   480 
   481   $ hg log -r 'remotebranches(def)' -GT "{rev}:{node|short} {remotenames}\n"
   481   $ hg log -r 'remotebranches(def)' -GT "{rev}:{node|short} {remotenames}\n"
   482   abort: remote name 'def' does not exist
   482   abort: remote name 'def' does not exist
   483   [255]
   483   [10]
   484 
   484 
   485   $ hg log -r 'remotebookmarks("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   485   $ hg log -r 'remotebookmarks("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   486   abort: remote name 'server3' does not exist
   486   abort: remote name 'server3' does not exist
   487   [255]
   487   [10]
   488 
   488 
   489   $ hg log -r 'remotenames("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   489   $ hg log -r 'remotenames("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   490   abort: remote name 'server3' does not exist
   490   abort: remote name 'server3' does not exist
   491   [255]
   491   [10]
   492 
   492 
   493 Testing for a pattern which does not match anything, which shouldn't fail.
   493 Testing for a pattern which does not match anything, which shouldn't fail.
   494 
   494 
   495   $ hg log -r 'remotenames("re:^server3$")'
   495   $ hg log -r 'remotenames("re:^server3$")'
   496 
   496