Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
hg-reviewers |
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/localrepo.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
if not isinstance(unknownopts, dict): | if not isinstance(unknownopts, dict): | ||||
raise error.ProgrammingError('filterknowncreateopts() did not return ' | raise error.ProgrammingError('filterknowncreateopts() did not return ' | ||||
'a dict') | 'a dict') | ||||
if unknownopts: | if unknownopts: | ||||
raise error.Abort(_('unable to create repository because of unknown ' | raise error.Abort(_('unable to create repository because of unknown ' | ||||
'creation option: %s') % | 'creation option: %s') % | ||||
', '.sorted(unknownopts), | ', '.join(sorted(unknownopts)), | ||||
hint=_('is a required extension not loaded?')) | hint=_('is a required extension not loaded?')) | ||||
requirements = newreporequirements(ui, createopts=createopts) | requirements = newreporequirements(ui, createopts=createopts) | ||||
wdirvfs = vfsmod.vfs(path, expandpath=True, realpath=True) | wdirvfs = vfsmod.vfs(path, expandpath=True, realpath=True) | ||||
if not wdirvfs.exists(): | if not wdirvfs.exists(): | ||||
wdirvfs.makedirs() | wdirvfs.makedirs() | ||||