localrepo: add missing join()
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 19 Sep 2018 16:15:22 -0700
changeset 39846 d3e761f9ac0a
parent 39845 e6d3d39cc1c7
child 39847 b504ff813c4f
localrepo: add missing join() Differential Revision: https://phab.mercurial-scm.org/D4705
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Wed Sep 19 11:38:05 2018 -0700
+++ b/mercurial/localrepo.py	Wed Sep 19 16:15:22 2018 -0700
@@ -2792,7 +2792,7 @@
     if unknownopts:
         raise error.Abort(_('unable to create repository because of unknown '
                             'creation option: %s') %
-                          ', '.sorted(unknownopts),
+                          ', '.join(sorted(unknownopts)),
                           hint=_('is a required extension not loaded?'))
 
     requirements = newreporequirements(ui, createopts=createopts)