]> Cypherpunks repositories - gostls13.git/commitdiff
codereview: Fix uploading for Mercurial 1.6.3
authorEvan Shaw <chickencha@gmail.com>
Mon, 30 Aug 2010 03:04:05 +0000 (23:04 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 30 Aug 2010 03:04:05 +0000 (23:04 -0400)
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

index fc6510f89988da610bb31408381dcce4faf65542..ba1a6fb108bbff278f25ac5422d3738064df0c13 100644 (file)
@@ -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