Show More
@@ -7,7 +7,7 b'' | |||||
7 |
|
7 | |||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 | import errno, getpass, os, socket, sys, tempfile, traceback |
|
9 | import errno, getpass, os, socket, sys, tempfile, traceback | |
10 | import config, scmutil, util, error |
|
10 | import config, scmutil, util, error, formatter | |
11 |
|
11 | |||
12 | class ui(object): |
|
12 | class ui(object): | |
13 | def __init__(self, src=None): |
|
13 | def __init__(self, src=None): | |
@@ -46,6 +46,9 b' class ui(object):' | |||||
46 | def copy(self): |
|
46 | def copy(self): | |
47 | return self.__class__(self) |
|
47 | return self.__class__(self) | |
48 |
|
48 | |||
|
49 | def formatter(self, topic, opts): | |||
|
50 | return formatter.formatter(self, topic, opts) | |||
|
51 | ||||
49 | def _trusted(self, fp, f): |
|
52 | def _trusted(self, fp, f): | |
50 | st = util.fstat(fp) |
|
53 | st = util.fstat(fp) | |
51 | if util.isowner(st): |
|
54 | if util.isowner(st): |
General Comments 0
You need to be logged in to leave comments.
Login now