hgext/fastannotate/support.py
changeset 43989 de358da72eb1
parent 43117 8ff1ecfadcd1
child 48875 6000f5b25c9b
equal deleted inserted replaced
43988:c8a51a90929b 43989:de358da72eb1
    72     """like the vanilla fctx.annotate, but do it via fastannotate, and make
    72     """like the vanilla fctx.annotate, but do it via fastannotate, and make
    73     the output format compatible with the vanilla fctx.annotate.
    73     the output format compatible with the vanilla fctx.annotate.
    74     may raise Exception, and always return line numbers.
    74     may raise Exception, and always return line numbers.
    75     """
    75     """
    76     master = _getmaster(fctx)
    76     master = _getmaster(fctx)
    77     annotated = contents = None
       
    78 
    77 
    79     with context.fctxannotatecontext(fctx, follow, diffopts) as ac:
    78     with context.fctxannotatecontext(fctx, follow, diffopts) as ac:
    80         try:
    79         try:
    81             annotated, contents = ac.annotate(
    80             annotated, contents = ac.annotate(
    82                 fctx.rev(), master=master, showpath=True, showlines=True
    81                 fctx.rev(), master=master, showpath=True, showlines=True