tests/test-annotate.t
changeset 24498 ab3a8ed7cf1d
parent 24421 77881cade20e
child 24817 0bb98eee531d
equal deleted inserted replaced
24497:2e0301ac5c91 24498:ab3a8ed7cf1d
   455   20 b6bedd5477e7+: foofoo
   455   20 b6bedd5477e7+: foofoo
   456 
   456 
   457 annotate missing file
   457 annotate missing file
   458 
   458 
   459   $ rm baz
   459   $ rm baz
       
   460 #if windows
       
   461   $ hg annotate -ncr "wdir()" baz
       
   462   abort: $TESTTMP\repo\baz: The system cannot find the file specified
       
   463   [255]
       
   464 #else
   460   $ hg annotate -ncr "wdir()" baz
   465   $ hg annotate -ncr "wdir()" baz
   461   abort: No such file or directory: $TESTTMP/repo/baz
   466   abort: No such file or directory: $TESTTMP/repo/baz
   462   [255]
   467   [255]
       
   468 #endif
   463 
   469 
   464 annotate removed file
   470 annotate removed file
   465 
   471 
   466   $ hg rm baz
   472   $ hg rm baz
       
   473 #if windows
       
   474   $ hg annotate -ncr "wdir()" baz
       
   475   abort: $TESTTMP\repo\baz: The system cannot find the file specified
       
   476   [255]
       
   477 #else
   467   $ hg annotate -ncr "wdir()" baz
   478   $ hg annotate -ncr "wdir()" baz
   468   abort: No such file or directory: $TESTTMP/repo/baz
   479   abort: No such file or directory: $TESTTMP/repo/baz
   469   [255]
   480   [255]
       
   481 #endif
   470 
   482 
   471 Test annotate with whitespace options
   483 Test annotate with whitespace options
   472 
   484 
   473   $ cd ..
   485   $ cd ..
   474   $ hg init repo-ws
   486   $ hg init repo-ws