diff hgext/keyword.py @ 17795:9fcea3f47a3a

keyword: move commands.inferrepo for code maintenance
author Christian Ebert <blacktrash@gmx.net>
date Wed, 17 Oct 2012 17:32:01 +0200
parents 434e5bd615fc
children f0564402d059
line wrap: on
line diff
--- 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"