Mercurial > hg-stable
changeset 35185:6864c405f023
match: remove doc about undefined behavior of visitdir()
This was added by 8545bd381504, but core matchers support visitdir() of
arbitrary locations since 2773540c3650, and verifier._verifymanifest()
doesn't seem to strictly obey the restriction.
I have no idea how important this API contract is for third-party extensions.
That's why this patch is RFC.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 30 Nov 2017 22:32:13 +0900 |
parents | ee64e677c3cf |
children | e0a1b9ee93cd |
files | mercurial/match.py |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/match.py Thu Nov 30 15:48:42 2017 -0500 +++ b/mercurial/match.py Thu Nov 30 22:32:13 2017 +0900 @@ -305,9 +305,6 @@ Returns the string 'all' if the given directory and all subdirectories should be visited. Otherwise returns True or False indicating whether the given directory should be visited. - - This function's behavior is undefined if it has returned False for - one of the dir's parent directories. ''' return True