tests/test-hgignore.t
branchstable
changeset 49538 b51e5c2ab5fd
parent 49152 eaaf4f98c9f1
child 49539 8076298b795a
equal deleted inserted replaced
49530:4e70efd5fd0e 49538:b51e5c2ab5fd
    68   $ hg status
    68   $ hg status
    69   Unsupported syntax regex parse error:
    69   Unsupported syntax regex parse error:
    70       ^(?:*.o)
    70       ^(?:*.o)
    71           ^
    71           ^
    72   error: repetition operator missing expression
    72   error: repetition operator missing expression
       
    73   [255]
       
    74 #endif
       
    75 
       
    76   $ echo 're:^(?!a).*\.o$' > .hgignore
       
    77 #if no-rhg
       
    78   $ hg status
       
    79   A dir/b.o
       
    80   ? .hgignore
       
    81   ? a.c
       
    82   ? a.o
       
    83   ? syntax
       
    84 #endif
       
    85 #if rhg
       
    86   $ hg status
       
    87   Unsupported syntax regex parse error:
       
    88       ^(?:^(?!a).*\.o$)
       
    89            ^^^
       
    90   error: look-around, including look-ahead and look-behind, is not supported
    73   [255]
    91   [255]
    74 #endif
    92 #endif
    75 
    93 
    76 Ensure given files are relative to cwd
    94 Ensure given files are relative to cwd
    77 
    95