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:
parent
c816d8c59f
commit
dbf6215dd6
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user