Skip to content
Snippets Groups Projects
Commit 4cb3515c authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

extsetup: drop support for Mercurial < 1.7

parent f0e77468
No related branches found
No related tags found
No related merge requests found
......@@ -107,11 +107,7 @@
helpdir = os.path.join(os.path.dirname(__file__), 'help')
entry = (['git'], _("Working with Git Repositories"),
lambda: open(os.path.join(helpdir, 'git.rst')).read())
# in 1.6 and earler the help table is a tuple
if getattr(help.helptable, 'extend', None):
insort(help.helptable, entry)
else:
help.helptable = help.helptable + (entry,)
insort(help.helptable, entry)
def reposetup(ui, repo):
if not isinstance(repo, gitrepo.gitrepo):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment