hgkw/keyword.py
branch0.9.2compat
changeset 689 c23ba1aef69d
parent 678 5684a76da263
child 690 19a327dfb68d
--- a/hgkw/keyword.py	Fri Feb 05 18:08:07 2010 +0000
+++ b/hgkw/keyword.py	Sun Mar 07 21:09:04 2010 +0100
@@ -437,14 +437,14 @@
         raise util.Abort(_('outstanding uncommitted merge'))
     kwt = kwtools['templater']
     status = _status(ui, repo, kwt, False, *pats, **opts)
-    modified, added, removed, deleted = status[:4]
+    modified, added, removed, deleted, unknown, ignored, clean = status
     if modified or added or removed or deleted:
         raise util.Abort(_('outstanding uncommitted changes'))
     wlock = lock = None
     try:
         wlock = repo.wlock()
         lock = repo.lock()
-        kwt.overwrite(None, expand, status[6])
+        kwt.overwrite(None, expand, clean)
     finally:
         del wlock, lock