Mercurial > hg > hg-git
changeset 929:983126c08bad
help: ignore argument passed to doc loader
The API changed at Mercurial e0c572d4d112.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 30 Sep 2015 22:14:36 +0900 |
parents | 596a721949bc |
children | 1a1d90e38651 |
files | hggit/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -158,7 +158,8 @@ }) helpdir = os.path.join(os.path.dirname(__file__), 'help') entry = (['git'], _("Working with Git Repositories"), - lambda: open(os.path.join(helpdir, 'git.rst')).read()) + # Mercurial >= 3.6: doc(ui) + lambda *args: open(os.path.join(helpdir, 'git.rst')).read()) insort(help.helptable, entry) def reposetup(ui, repo):