[PATCH] keyword: move commands.inferrepo for code maintenance

Christian Ebert blacktrash at gmx.net
Wed Oct 17 10:42:42 CDT 2012


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1350487921 -7200
# Node ID 984e10b450f0d75ea174cc3f71535b5055cceeae
# Parent  72c234081ae1350220132c69750f5a093902a1e7
keyword: move commands.inferrepo for code maintenance

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -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"


More information about the Mercurial-devel mailing list