Mercurial > hg-stable
diff mercurial/pathencode.c @ 18624:4db216b1c154
pathauditor: add check() method
The pathauditor currently throws exceptions when it encounters an invalid
path. This change adds a method to allow people to treat it as a boolean.
This is currently used by scmutil.addremove and in a subsequent patch it
will be used by dirstate.walk
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 05 Feb 2013 14:24:14 -0800 |
parents | 8bd338c7c4c9 |
children | 55c6ab8163ec |