1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:04:41 -07:00

codereview: support mercurial 2.2.1

We explicitly use plainformatter to avoid the
        user's debug setting changing our behavior.
        Fixes #3603.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6201069
This commit is contained in:
Shenghou Ma 2012-05-17 02:54:03 +08:00
parent c816d8c59f
commit dbf6215dd6

View File

@ -3344,6 +3344,10 @@ class FakeMercurialUI(object):
def status(self, *args, **opts): def status(self, *args, **opts):
pass pass
def formatter(self, topic, opts):
from mercurial.formatter import plainformatter
return plainformatter(self, topic, opts)
def readconfig(self, *args, **opts): def readconfig(self, *args, **opts):
pass pass
def expandpath(self, *args, **opts): def expandpath(self, *args, **opts):