Mercurial > hg
changeset 2373:61976a27aa2b
Some functions were called as globals (i.e. I forgot some "self.")
author | demian@gaudron.lan |
---|---|
date | Tue, 16 May 2006 21:03:07 +0200 |
parents | 449906e17576 |
children | ffc2ed61061b |
files | purge.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/purge.py Tue May 16 18:55:22 2006 +0200 +++ b/purge.py Tue May 16 21:03:07 2006 +0200 @@ -60,7 +60,7 @@ if self._abort_on_err: raise util.Abort(msg) else: - ui.warn('warning: ' + msg + '\n') + self._ui.warn('warning: ' + msg + '\n') def _remove_file(self, name): relative_name = self._relative_name(name) @@ -73,7 +73,7 @@ try: os.remove(name) except OSError, e: - error('"%s" cannot be removed' % name) + self._error('"%s" cannot be removed' % name) def _remove_dir(self, name): self._ui.note(name + '\n') @@ -81,7 +81,7 @@ try: os.rmdir(name) except OSError, e: - error('"%s" cannot be removed' % name) + self._error('"%s" cannot be removed' % name) def _relative_name(self, name): splitted_path = self._split_path(name)[len(self._hg_root):]