equal
deleted
inserted
replaced
135 for f in scmutil.rcpath(): |
135 for f in scmutil.rcpath(): |
136 self.readconfig(f, trust=True) |
136 self.readconfig(f, trust=True) |
137 |
137 |
138 def copy(self): |
138 def copy(self): |
139 return self.__class__(self) |
139 return self.__class__(self) |
|
140 |
|
141 def resetstate(self): |
|
142 """Clear internal state that shouldn't persist across commands""" |
|
143 if self._progbar: |
|
144 self._progbar.resetstate() # reset last-print time of progress bar |
140 |
145 |
141 def formatter(self, topic, opts): |
146 def formatter(self, topic, opts): |
142 return formatter.formatter(self, topic, opts) |
147 return formatter.formatter(self, topic, opts) |
143 |
148 |
144 def _trusted(self, fp, f): |
149 def _trusted(self, fp, f): |