Mercurial > hg
comparison mercurial/revset.py @ 30962:11c253997b0e
destutil: drop now-unused "check" parameter from destupdate()
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 13 Feb 2017 11:32:09 -0800 |
parents | 1be65deb3d54 |
children | 17b5cda5a84a |
comparison
equal
deleted
inserted
replaced
30961:330fbd515512 | 30962:11c253997b0e |
---|---|
505 predicate = registrar.revsetpredicate() | 505 predicate = registrar.revsetpredicate() |
506 | 506 |
507 @predicate('_destupdate') | 507 @predicate('_destupdate') |
508 def _destupdate(repo, subset, x): | 508 def _destupdate(repo, subset, x): |
509 # experimental revset for update destination | 509 # experimental revset for update destination |
510 args = getargsdict(x, 'limit', 'clean check') | 510 args = getargsdict(x, 'limit', 'clean') |
511 return subset & baseset([destutil.destupdate(repo, **args)[0]]) | 511 return subset & baseset([destutil.destupdate(repo, **args)[0]]) |
512 | 512 |
513 @predicate('_destmerge') | 513 @predicate('_destmerge') |
514 def _destmerge(repo, subset, x): | 514 def _destmerge(repo, subset, x): |
515 # experimental revset for merge destination | 515 # experimental revset for merge destination |