tests/test-fastannotate-hg.t
changeset 39249 aec7109aeb39
parent 39210 1ddb296e0dee
child 39279 cb9cf42c902f
equal deleted inserted replaced
39248:57d4754e44b8 39249:aec7109aeb39
   592   20 b6bedd5477e7+: foofoo
   592   20 b6bedd5477e7+: foofoo
   593 
   593 
   594 annotate missing file
   594 annotate missing file
   595 
   595 
   596   $ rm baz
   596   $ rm baz
   597 #if windows
       
   598   $ hg annotate -ncr "wdir()" baz
   597   $ hg annotate -ncr "wdir()" baz
   599   abort: $TESTTMP\repo\baz: The system cannot find the file specified
   598   abort: $TESTTMP/repo/baz: $ENOENT$ (windows !)
       
   599   abort: $ENOENT$: $TESTTMP/repo/baz (no-windows !)
   600   [255]
   600   [255]
   601 #else
   601 
       
   602 annotate removed file
       
   603 
       
   604   $ hg rm baz
   602   $ hg annotate -ncr "wdir()" baz
   605   $ hg annotate -ncr "wdir()" baz
   603   abort: $ENOENT$: $TESTTMP/repo/baz
   606   abort: $TESTTMP/repo/baz: $ENOENT$ (windows !)
       
   607   abort: $ENOENT$: $TESTTMP/repo/baz (no-windows !)
   604   [255]
   608   [255]
   605 #endif
       
   606 
       
   607 annotate removed file
       
   608 
       
   609   $ hg rm baz
       
   610 #if windows
       
   611   $ hg annotate -ncr "wdir()" baz
       
   612   abort: $TESTTMP\repo\baz: The system cannot find the file specified
       
   613   [255]
       
   614 #else
       
   615   $ hg annotate -ncr "wdir()" baz
       
   616   abort: $ENOENT$: $TESTTMP/repo/baz
       
   617   [255]
       
   618 #endif
       
   619 
   609 
   620 Test annotate with whitespace options
   610 Test annotate with whitespace options
   621 
   611 
   622   $ cd ..
   612   $ cd ..
   623   $ hg init repo-ws
   613   $ hg init repo-ws