changeset 2371:e39300cdb8ff

Use self._ui.note(...) instead of if self._ui.verbose: self._ui.status(...)
author demian@gaudron.lan
date Tue, 16 May 2006 14:54:34 +0200
parents de893ad6bd17
children 449906e17576
files purge.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/purge.py	Tue May 16 13:40:45 2006 +0200
+++ b/purge.py	Tue May 16 14:54:34 2006 +0200
@@ -68,8 +68,7 @@
         # directory.
         if self._repo.dirstate.state(relative_name) != '?':
             return
-        if self._ui.verbose:
-            self._ui.status(name + '\n')
+        self._ui.note(name + '\n')
         if self._act:
             try:
                 os.remove(name)
@@ -77,8 +76,7 @@
                 error('"%s" cannot be removed' % name)
 
     def _remove_dir(self, name):
-        if self._ui.verbose:
-            self._ui.status(name + '\n')
+        self._ui.note(name + '\n')
         if self._act:
             try:
                 os.rmdir(name)