comparison .hgsigs @ 1333:7475c42671b1 stable

util: add prefix to PrefixMatch The upstream match object now has a prefix function. Let's add it to our PrefixMatcher. The upstream implementation will return False if anypats() is true, which it is for our PrefixMatcher, so we go ahead and return False. This was caught by the tests failing.
author Durham Goode <durham@fb.com>
date Thu, 28 May 2015 20:18:50 -0700
parents b13f320ff4e3
children b92e00895a01
comparison
equal deleted inserted replaced
1325:82803ec84c82 1333:7475c42671b1