changeset 224 | fd98a9bffcbe |
parent 222 | f956a8301c25 |
child 225 | 2a0ac51bfd24 |
--- a/hgkw/keyword.py Thu Aug 09 15:54:27 2007 +0200 +++ b/hgkw/keyword.py Sat Aug 11 14:43:04 2007 +0200 @@ -397,7 +397,8 @@ 'remove', 'rename', 'rollback'] def _getcmd(): - # cmdutil.parse(ui, sys.argv[1:])[0] doesn't work for "hg diff -r" + # commands or cmdutil.parse(ui, sys.argv[1:])[0] + # results in no output from "hg diff --rev" with older hg versions args = fancyopts.fancyopts(sys.argv[1:], commands.globalopts, {}) if args: cmd = args[0]