hgkw/keyword.py
changeset 262 397a5957cc48
parent 261 28e64bebc298
child 263 fc7f60b109b6
--- a/hgkw/keyword.py	Sat Oct 06 20:13:18 2007 +0200
+++ b/hgkw/keyword.py	Sat Oct 06 19:55:30 2007 +0200
@@ -314,11 +314,11 @@
     if not hasattr(ui, 'kwfmatcher'):
         ui.warn(_('no files configured for keyword expansion\n'))
         return
+    bail_if_changed(repo)
     wlock = lock = None
     try:
         wlock = repo.wlock()
         lock = repo.lock()
-        bail_if_changed(repo)
         ctx = repo.changectx()
         man = ctx.manifest()
         if files: