keyword: move commands.inferrepo for code maintenance
authorChristian Ebert <blacktrash@gmx.net>
Wed, 17 Oct 2012 17:32:01 +0200
changeset 17795 9fcea3f47a3a
parent 17794 a03cca2cf6c2
child 17796 1b51638bf44a
keyword: move commands.inferrepo for code maintenance
hgext/keyword.py
--- a/hgext/keyword.py	Mon Oct 08 22:43:54 2012 -0400
+++ b/hgext/keyword.py	Wed Oct 17 17:32:01 2012 +0200
@@ -89,6 +89,7 @@
 import os, re, shutil, tempfile
 
 commands.optionalrepo += ' kwdemo'
+commands.inferrepo += ' kwexpand kwfiles kwshrink'
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)
@@ -728,5 +729,3 @@
             pass
 
     repo.__class__ = kwrepo
-
-commands.inferrepo += " kwexpand kwfiles kwshrink"