Lines Matching refs:self
62 def __init__(self, verbose=False):
63 self.verbose = verbose
65 def prompt(self, prompt, results, default):
67 result = self._prompt(prompt, results, default)
72 def _prompt(self, prompt, results, default):
76 def write(self, string):
80 def _prompt(self, prompt, results, default):
83 def write(self, string):
87 def __init__(self, ui, *args, **kwargs):
88 super(MercurialUI, self).__init__(*args, **kwargs)
89 self.hg_ui = ui
91 def _prompt(self, prompt, results, default):
92 return self.hg_ui.prompt(prompt, default=default)
94 def write(self, string):
95 self.hg_ui.write(string)