mercurial/revset.py
changeset 20443 b68984d288d4
parent 20429 f5b560c60bcd
child 20445 507261c0914f
equal deleted inserted replaced
20442:8524cdf66a12 20443:b68984d288d4
   193     return l
   193     return l
   194 
   194 
   195 def getset(repo, subset, x):
   195 def getset(repo, subset, x):
   196     if not x:
   196     if not x:
   197         raise error.ParseError(_("missing argument"))
   197         raise error.ParseError(_("missing argument"))
   198     return baseset(methods[x[0]](repo, subset, *x[1:]))
   198     return methods[x[0]](repo, subset, *x[1:])
   199 
   199 
   200 def _getrevsource(repo, r):
   200 def _getrevsource(repo, r):
   201     extra = repo[r].extra()
   201     extra = repo[r].extra()
   202     for label in ('source', 'transplant_source', 'rebase_source'):
   202     for label in ('source', 'transplant_source', 'rebase_source'):
   203         if label in extra:
   203         if label in extra: