Mercurial > public > mercurial-scm > hg
diff hgext/rebase.py @ 32375:04baab18d60a
commands: move templates of common command options to cmdutil (API)
The goal is to get rid of the debugcommands -> commands dependency.
Since globalopts is the property of the commands, it's kept in the commands
module.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 14 May 2017 16:19:47 +0900 |
parents | 082fc4abdc31 |
children | 8db2feb04ceb |
line wrap: on
line diff
--- a/hgext/rebase.py Sat Aug 13 12:29:53 2016 +0900 +++ b/hgext/rebase.py Sun May 14 16:19:47 2017 +0900 @@ -52,7 +52,7 @@ ) release = lock.release -templateopts = commands.templateopts +templateopts = cmdutil.templateopts # The following constants are used throughout the rebase module. The ordering of # their values must be maintained.