1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:57:57 -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):
pass
def formatter(self, topic, opts):
from mercurial.formatter import plainformatter
return plainformatter(self, topic, opts)
def readconfig(self, *args, **opts):
pass
def expandpath(self, *args, **opts):