Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/localrepo.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
Gregory Szorc | Sep 19 2018, 7:15 PM |
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() | ||||