changeset 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 a03cca2cf6c2
children 1b51638bf44a
files hgext/keyword.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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"