hgext/graphlog.py
changeset 6192 cd65a67aff31
parent 5968 6dcc190ffc36
child 6212 e75aab656f46
--- a/hgext/graphlog.py	Fri Feb 29 02:15:31 2008 +0100
+++ b/hgext/graphlog.py	Fri Feb 29 02:45:12 2008 +0100
@@ -8,6 +8,7 @@
 import os
 import sys
 from mercurial.cmdutil import revrange, show_changeset
+from mercurial.commands import templateopts
 from mercurial.i18n import _
 from mercurial.node import nullid, nullrev
 from mercurial.util import Abort, canonpath
@@ -320,7 +321,6 @@
          [('l', 'limit', '', _('limit number of changes displayed')),
           ('p', 'patch', False, _('show patch')),
           ('r', 'rev', [], _('show the specified revision or range')),
-          ('', 'style', '', _('display using template map file')),
-          ('', 'template', '', _('display with template'))],
+         ] + templateopts,
          _('hg glog [OPTION]... [FILE]')),
 }