mercurial/revset.py
changeset 30753 c3a3896a9fa8
parent 30719 42c75b4fa46a
child 30754 26209cb7184e
equal deleted inserted replaced
30752:ffd324eaf994 30753:c3a3896a9fa8
   324     if len(l) < min or (max >= 0 and len(l) > max):
   324     if len(l) < min or (max >= 0 and len(l) > max):
   325         raise error.ParseError(err)
   325         raise error.ParseError(err)
   326     return l
   326     return l
   327 
   327 
   328 def getargsdict(x, funcname, keys):
   328 def getargsdict(x, funcname, keys):
   329     return parser.buildargsdict(getlist(x), funcname, keys.split(),
   329     return parser.buildargsdict(getlist(x), funcname, parser.splitargspec(keys),
   330                                 keyvaluenode='keyvalue', keynode='symbol')
   330                                 keyvaluenode='keyvalue', keynode='symbol')
   331 
   331 
   332 def getset(repo, subset, x):
   332 def getset(repo, subset, x):
   333     if not x:
   333     if not x:
   334         raise error.ParseError(_("missing argument"))
   334         raise error.ParseError(_("missing argument"))