hgext/churn.py
changeset 45720 508dfd1c18df
parent 45652 d1759b2e1888
child 45942 89a2afe31e82
equal deleted inserted replaced
45719:c10c87c8fe79 45720:508dfd1c18df
    21     encoding,
    21     encoding,
    22     logcmdutil,
    22     logcmdutil,
    23     patch,
    23     patch,
    24     pycompat,
    24     pycompat,
    25     registrar,
    25     registrar,
       
    26     scmutil,
    26 )
    27 )
    27 
    28 
    28 cmdtable = {}
    29 cmdtable = {}
    29 command = registrar.command(cmdtable)
    30 command = registrar.command(cmdtable)
    30 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
    31 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
    96         date=opts[b'date'],
    97         date=opts[b'date'],
    97         include_pats=opts[b'include'],
    98         include_pats=opts[b'include'],
    98         exclude_pats=opts[b'exclude'],
    99         exclude_pats=opts[b'exclude'],
    99     )
   100     )
   100     revs, makefilematcher = logcmdutil.makewalker(repo, wopts)
   101     revs, makefilematcher = logcmdutil.makewalker(repo, wopts)
   101     for ctx in cmdutil.walkchangerevs(repo, revs, makefilematcher, prep):
   102     for ctx in scmutil.walkchangerevs(repo, revs, makefilematcher, prep):
   102         continue
   103         continue
   103 
   104 
   104     progress.complete()
   105     progress.complete()
   105 
   106 
   106     return rate
   107     return rate