Submitter | Siddharth Agarwal |
---|---|
Date | March 18, 2014, 8:58 p.m. |
Message ID | <2e4c971548c5b45ae5f2.1395176321@dev1738.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/3971/ |
State | Accepted |
Commit | 8b0e3a8982eab4991690a4e3f4588d07663c5351 |
Headers | show |
Comments
On Tue, 2014-03-18 at 13:58 -0700, Siddharth Agarwal wrote: > # HG changeset patch > # User Siddharth Agarwal <sid0@fb.com> > # Date 1395175203 25200 > # Tue Mar 18 13:40:03 2014 -0700 > # Node ID 2e4c971548c5b45ae5f28a8ec3a2cfcc35005615 > # Parent b93791e0de25ac0090d66fa04f956414b572a739 > sshpeer: only print out 'running ssh' messages in debug mode (BC) Queued for default. This probably ought to have been a debug message all along.. I've been telling people to do pull --debug for years because I thought it was.
Patch
diff --git a/mercurial/sshpeer.py b/mercurial/sshpeer.py --- a/mercurial/sshpeer.py +++ b/mercurial/sshpeer.py @@ -51,7 +51,7 @@ cmd = '%s %s %s' % (sshcmd, args, util.shellquote("%s init %s" % (_serverquote(remotecmd), _serverquote(self.path)))) - ui.note(_('running %s\n') % cmd) + ui.debug('running %s\n' % cmd) res = util.system(cmd) if res != 0: self._abort(error.RepoError(_("could not create remote repo"))) @@ -68,7 +68,7 @@ cmd = '%s %s %s' % (sshcmd, args, util.shellquote("%s -R %s serve --stdio" % (_serverquote(remotecmd), _serverquote(self.path)))) - self.ui.note(_('running %s\n') % cmd) + self.ui.debug('running %s\n' % cmd) cmd = util.quotecommand(cmd) # while self.subprocess isn't used, having it allows the subprocess to