author | Sean Farley <sean@farley.io> |
Mon, 25 Apr 2016 21:24:20 -0700 | |
changeset 1966 | e67c526c0a25 |
parent 1965 | 0421772a9c30 |
child 1967 | c5d4e856ad0e |
--- a/hgext3rd/topic/__init__.py Mon Apr 25 20:00:19 2016 -0700 +++ b/hgext3rd/topic/__init__.py Mon Apr 25 21:24:20 2016 -0700 @@ -290,7 +290,8 @@ return ret def mergeupdatewrap(orig, repo, node, branchmerge, force, *args, **kwargs): - partial = bool(len(args)) or 'matcher' in kwargs + matcher = kwargs.get('matcher') + partial = not (matcher is None or matcher.always()) wlock = repo.wlock() try: ret = orig(repo, node, branchmerge, force, *args, **kwargs)