mercurial/cmdutil.py
branchstable
changeset 23955 8a29897d42d2
parent 23885 9994f45ba714
child 23965 6156edaa82aa
equal deleted inserted replaced
23954:310222feb9a8 23955:8a29897d42d2
  1779             if pats:
  1779             if pats:
  1780                 # follow() revset interprets its file argument as a
  1780                 # follow() revset interprets its file argument as a
  1781                 # manifest entry, so use match.files(), not pats.
  1781                 # manifest entry, so use match.files(), not pats.
  1782                 opts[fpats[followfirst]] = list(match.files())
  1782                 opts[fpats[followfirst]] = list(match.files())
  1783             else:
  1783             else:
  1784                 opts[fnopats[followdescendants][followfirst]] = str(startrev)
  1784                 op = fnopats[followdescendants][followfirst]
       
  1785                 opts[op] = 'rev(%d)' % startrev
  1785         else:
  1786         else:
  1786             opts['_patslog'] = list(pats)
  1787             opts['_patslog'] = list(pats)
  1787 
  1788 
  1788     filematcher = None
  1789     filematcher = None
  1789     if opts.get('patch') or opts.get('stat'):
  1790     if opts.get('patch') or opts.get('stat'):