Skip to content
Snippets Groups Projects
Commit ae6b1ba7 authored by Alain Leufroy's avatar Alain Leufroy
Browse files

compat: fix for hg 4.8

089fc0db0954 introduced a new `createopts` parameter.

`hggit` does not support repository creation, so we can just ignore
it.
parent 6ae26ba7
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
class gitrepo(peerrepository):
def __init__(self, ui, path, create, intents=None):
def __init__(self, ui, path, create, intents=None, **kwargs):
if create: # pragma: no cover
raise error.Abort('Cannot create a git repository.')
self._ui = ui
......
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