# HG changeset patch # User Christian Ebert # Date 1267992544 -3600 # Node ID c23ba1aef69dca6d02f9e51432680c3309fec296 # Parent 5684a76da2639a513383e0f870272fb1ae5daf5d (0.9.2compat) use status' names for readability diff -r 5684a76da263 -r c23ba1aef69d hgkw/keyword.py --- 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