comparison mercurial/localrepo.py @ 39580:a64a965b3610

localrepo: fix a mixmatched arg name in createrepository() docstring Differential Revision: https://phab.mercurial-scm.org/D4548
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 12 Sep 2018 11:24:51 -0700
parents 623081f2abc2
children e471cb2852ea
comparison
equal deleted inserted replaced
39579:921aeb9ac508 39580:a64a965b3610
2461 2461
2462 def createrepository(ui, wdirvfs, createopts=None): 2462 def createrepository(ui, wdirvfs, createopts=None):
2463 """Create a new repository in a vfs. 2463 """Create a new repository in a vfs.
2464 2464
2465 ``wdirvfs`` is a vfs instance pointing at the working directory. 2465 ``wdirvfs`` is a vfs instance pointing at the working directory.
2466 ``requirements`` is a set of requirements for the new repository. 2466 ``createopts`` options for the new repository.
2467 """ 2467 """
2468 createopts = createopts or {} 2468 createopts = createopts or {}
2469 2469
2470 unknownopts = filterknowncreateopts(ui, createopts) 2470 unknownopts = filterknowncreateopts(ui, createopts)
2471 2471