ignoring folders in mercurial

后端 未结 4 1109
余生分开走
余生分开走 2020-12-15 17:07

Caveat: I try all the posibilities listed here: How can I ignore everything under a folder in Mercurial.
None works as I hope.

I want to ignor

4条回答
  •  -上瘾入骨i
    2020-12-15 17:15

    You can use zero-width negative look-ahead and look-behind assertions to specify that you want to ignore test only when it's not preceded by srcProject and not followed by TestManager:

    syntax: regexp
    (?

    Mercurial uses Python regular expressions, so you can find more info on zero-width assertions in the Python docs: https://docs.python.org/library/re.html#regular-expression-syntax

提交回复
热议问题