[PATCH] keyword: argument to "kwdemo --rcfile" must be string (bugfix)

Christian Ebert blacktrash at gmx.net
Wed Jul 22 13:17:13 CDT 2009


I swear this didn't cause a traceback originally. But this way it
makes more sense anyway.


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1248286354 -3600
# Node ID 2bbe1a76e3824ee7dc574d93a398b51d4f66b61d
# Parent  8c719222ddd7e478fa3dc23e71484411b2bfd69f
keyword: argument to "kwdemo --rcfile" must be string (bugfix)

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -528,7 +528,7 @@
          [('d', 'default', None, _('show default keyword template maps')),
-          ('f', 'rcfile', [], _('read maps from rcfile'))],
+          ('f', 'rcfile', '', _('read maps from rcfile'))],
          _('hg kwdemo [-d] [-f RCFILE] [TEMPLATEMAP]...')),
     'kwexpand': (expand, commands.walkopts,
                  _('hg kwexpand [OPTION]... [FILE]...')),

More information about the Mercurial-devel mailing list