diff contrib/hbisect.py @ 1619:1ba0d7041ac4

Distinguish removed and deleted files. Tests are not fixed yet. hg status will now show "R filename" for "hg rm"ed files and "! filename" for files which were deleted manually. Manually deleted files are considered unmodified.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 12 Jan 2006 13:58:36 +0100
parents ff339dd21976
children 2428e6d66f06
line wrap: on
line diff
--- a/contrib/hbisect.py	Thu Jan 12 13:35:09 2006 +0100
+++ b/contrib/hbisect.py	Thu Jan 12 13:58:36 2006 +0100
@@ -21,7 +21,7 @@
     return parents.pop()
 
 def check_clean(ui, repo):
-        modified, added, removed, unknown = repo.changes()
+        modified, added, removed, deleted, unknown = repo.changes()
         if modified or added or removed:
             ui.warn("Repository is not clean, please commit or revert\n")
             sys.exit(1)