Mercurial > hg-git
diff hggit/__init__.py @ 928: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 | e183fdc198f0 |
children | f7d0175264ce |
line wrap: on
line diff
--- a/hggit/__init__.py Tue Aug 11 17:24:08 2015 -0400 +++ b/hggit/__init__.py Wed Sep 30 22:14:36 2015 +0900 @@ -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):