##// END OF EJS Templates
revset: delete _updatedefaultdest as it has no users...
Pierre-Yves David -
r26571:a024e2db default
parent child Browse files
Show More
@@ -12,7 +12,6 b' import re'
12 12
13 13 from .i18n import _
14 14 from . import (
15 destutil,
16 15 encoding,
17 16 error,
18 17 hbisect,
@@ -525,17 +524,6 b' def _mergedefaultdest(repo, subset, x):'
525 524 node = nbhs[0]
526 525 return subset & baseset([repo[node].rev()])
527 526
528 def _updatedefaultdest(repo, subset, x):
529 # ``_updatedefaultdest()``
530
531 # default destination for update.
532 # # XXX: Currently private because I expect the signature to change.
533 # # XXX: - taking rev as arguments,
534 # # XXX: - bailing out in case of ambiguity vs returning all data.
535 getargs(x, 0, 0, _("_updatedefaultdest takes no arguments"))
536 rev = destutil.destupdate(repo)
537 return subset & baseset([rev])
538
539 527 def adds(repo, subset, x):
540 528 """``adds(pattern)``
541 529 Changesets that add a file matching pattern.
@@ -2146,7 +2134,6 b' def _hexlist(repo, subset, x):'
2146 2134
2147 2135 symbols = {
2148 2136 "_mergedefaultdest": _mergedefaultdest,
2149 "_updatedefaultdest": _updatedefaultdest,
2150 2137 "adds": adds,
2151 2138 "all": getall,
2152 2139 "ancestor": ancestor,
General Comments 0
You need to be logged in to leave comments. Login now