tests/test-logexchange.t
changeset 45921 95c4cca641f6
parent 45910 fc4fb2f17dd4
child 47951 9c4204b7f3e4
equal deleted inserted replaced
45920:e131dbf6ee15 45921:95c4cca641f6
   479   ~
   479   ~
   480 
   480 
   481 Testing for a literal name which does not exists, which should fail.
   481 Testing for a literal name which does not exists, which should fail.
   482 
   482 
   483   $ hg log -r 'remotebranches(def)' -GT "{rev}:{node|short} {remotenames}\n"
   483   $ hg log -r 'remotebranches(def)' -GT "{rev}:{node|short} {remotenames}\n"
   484   abort: remote name 'def' does not exist!
   484   abort: remote name 'def' does not exist
   485   [255]
   485   [255]
   486 
   486 
   487   $ hg log -r 'remotebookmarks("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   487   $ hg log -r 'remotebookmarks("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   488   abort: remote name 'server3' does not exist!
   488   abort: remote name 'server3' does not exist
   489   [255]
   489   [255]
   490 
   490 
   491   $ hg log -r 'remotenames("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   491   $ hg log -r 'remotenames("server3")' -GT "{rev}:{node|short} {remotenames}\n"
   492   abort: remote name 'server3' does not exist!
   492   abort: remote name 'server3' does not exist
   493   [255]
   493   [255]
   494 
   494 
   495 Testing for a pattern which does not match anything, which shouldn't fail.
   495 Testing for a pattern which does not match anything, which shouldn't fail.
   496 
   496 
   497   $ hg log -r 'remotenames("re:^server3$")'
   497   $ hg log -r 'remotenames("re:^server3$")'