mercurial/cmdutil.py
changeset 38984 f3f109971359
parent 38857 32ece991955c
child 38998 d99468d2b09a
equal deleted inserted replaced
38983:0dce1297dd01 38984:f3f109971359
  1887     allfiles = opts.get('all_files')
  1887     allfiles = opts.get('all_files')
  1888     follow = opts.get('follow') or opts.get('follow_first')
  1888     follow = opts.get('follow') or opts.get('follow_first')
  1889     revs = _walkrevs(repo, opts)
  1889     revs = _walkrevs(repo, opts)
  1890     if not revs:
  1890     if not revs:
  1891         return []
  1891         return []
  1892     if allfiles and len(revs) > 1:
       
  1893         raise error.Abort(_("multiple revisions not supported with "
       
  1894                             "--all-files"))
       
  1895     wanted = set()
  1892     wanted = set()
  1896     slowpath = match.anypats() or (not match.always() and opts.get('removed'))
  1893     slowpath = match.anypats() or (not match.always() and opts.get('removed'))
  1897     fncache = {}
  1894     fncache = {}
  1898     change = repo.__getitem__
  1895     change = repo.__getitem__
  1899 
  1896