mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
a13fcd4910
Summary: Purge needs to be able to see what directories the walker traversed, so it can delete them if they are empty. Instead of having the walker call match.traversedir (which it seems like a bizarre pattern to use the matcher as a holder for a non-matching related function), let's have the walker return an enum and have an option to return directories. At the python layer we then translate this into match.traversedir calls, but we can clean that up later. Reviewed By: quark-zju Differential Revision: D19543795 fbshipit-source-id: cc51c86c91799d3df2c65d25a7b6cfe810206d0a |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
traceimport.py |