Show More
@@ -407,12 +407,13 b' def annotate(ui, repo, *pats, **opts):' | |||
|
407 | 407 | if skiprevs: |
|
408 | 408 | skiprevs = scmutil.revrange(repo, skiprevs) |
|
409 | 409 | |
|
410 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) | |
|
410 | 411 | for abs in ctx.walk(m): |
|
411 | 412 | fctx = ctx[abs] |
|
412 | 413 | rootfm.startitem() |
|
413 | 414 | rootfm.data(path=abs) |
|
414 | 415 | if not opts.get('text') and fctx.isbinary(): |
|
415 |
rootfm.plain(_("%s: binary file\n") % |
|
|
416 | rootfm.plain(_("%s: binary file\n") % uipathfn(abs)) | |
|
416 | 417 | continue |
|
417 | 418 | |
|
418 | 419 | fm = rootfm.nested('lines', tmpl='{rev}: {line}') |
General Comments 0
You need to be logged in to leave comments.
Login now