From 9e162aa3be6e212cbe434460a4938969a17bb199 Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Sun, 29 Aug 2010 23:04:05 -0400 Subject: [PATCH] codereview: Fix uploading for Mercurial 1.6.3 See: http://selenic.com/repo/hg/rev/32b213b9b22c http://selenic.com/repo/hg/rev/2096496b40ec R=rsc, adg CC=golang-dev https://golang.org/cl/2072041 --- lib/codereview/codereview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index fc6510f8998..ba1a6fb108b 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -2494,8 +2494,8 @@ class FakeMercurialUI(object): self.quiet = True self.output = '' - def write(self, s): - self.output += s + def write(self, *args, **opts): + self.output += ' '.join(args) use_hg_shell = False # set to True to shell out to hg always; slower