changeset 59:648a08c398a1

Avoid fake conflicts due to keyword expansion Add crecord commands to the list of commands that unexpand keywords when reading from working directory.
author Christian Ebert <blacktrash@gmx.net>
date Mon, 26 Apr 2010 23:13:06 +0200
parents 69718b21b5bb
children edc42ee97c41
files crecord/__init__.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/crecord/__init__.py
+++ b/crecord/__init__.py
@@ -26,6 +26,12 @@
 
 def extsetup():
     try:
+        keyword = extensions.find('keyword')
+        keyword.restricted += ' crecord qcrecord'
+    except KeyError:
+        pass
+
+    try:
         mq = extensions.find('mq')
     except KeyError:
         return