Skip to content

Commit

Permalink
fix test-check-code.t
Browse files Browse the repository at this point in the history
Summary: There were some missing _() in sapling/push.py.

Reviewed By: quark-zju, sggutier

Differential Revision: D52672756

fbshipit-source-id: 234732d249150e14cc8e615f45dfe2719b3044bf
  • Loading branch information
muirdm authored and facebook-github-bot committed Jan 10, 2024
1 parent ff54fe7 commit d734282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eden/scm/sapling/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def push(repo, dest, head_node, remote_bookmark, force=False, opargs=None):
)
commit_infos.append(line)
if commit_infos:
ui.write("push commits debug info:\n" + "\n".join(commit_infos) + "\n")
ui.write(_("push commits debug info:\n") + "\n".join(commit_infos) + "\n")
else:
ui.write(f"head commit {short(head_node)} is not a draft commit\n")
ui.write(_(f"head commit {short(head_node)} is not a draft commit\n"))

# upload revs via EdenApi

Expand Down

0 comments on commit d734282

Please sign in to comment.