From fd1ccf44e35fb5a737be5c4a4a23acbf08874c78 Mon Sep 17 00:00:00 2001 From: Arun Kulshreshtha Date: Thu, 21 Feb 2019 13:56:49 -0800 Subject: [PATCH] rage: use pastry instead of arc paste Summary: `pastry` is the modern replacement for `arc paste`. Let's use it in `hg rage` instead of `arc paste`. Reviewed By: singhsrb Differential Revision: D14172108 fbshipit-source-id: 6586b9a8d8b90bac55d91baed852edbc7c1d9db9 --- edenscm/hgext/rage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edenscm/hgext/rage.py b/edenscm/hgext/rage.py index dc1a3b99a8..806ca40ea7 100644 --- a/edenscm/hgext/rage.py +++ b/edenscm/hgext/rage.py @@ -90,7 +90,7 @@ def _tail(userlogdir, userlogfiles, nlines=100): rageopts = [ - ("p", "preview", None, _("print diagnostic information without doing arc paste")) + ("p", "preview", None, _("print diagnostic information without uploading paste")) ] @@ -439,7 +439,7 @@ def rage(ui, repo, *pats, **opts): with progress.spinner(ui, "saving paste"): try: p = subprocess.Popen( - ["arc", "paste", "--lang", "hgrage", "--title", "hgrage"], + ["pastry", "--lang", "hgrage", "--title", "hgrage"], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE, @@ -448,7 +448,7 @@ def rage(ui, repo, *pats, **opts): out, err = p.communicate(input=msg + "\n") ret = p.returncode except OSError: - ui.write(_("Failed calling arc. (is it in your PATH?)\n")) + ui.write(_("Failed calling pastry. (is it in your PATH?)\n")) ret = 1 if ret: