--- a/hgext/share.py Sat Jun 13 18:08:51 2009 -0500
+++ b/hgext/share.py Sat Jun 13 18:16:44 2009 -0500
@@ -9,7 +9,7 @@
from mercurial.i18n import _
from mercurial import hg, commands
-def share(ui, source, dest, noupdate=False):
+def share(ui, source, dest=None, noupdate=False):
"""create a new shared repository (experimental)
Initialize a new repository and working directory that shares its
@@ -25,7 +25,7 @@
"share":
(share,
[('U', 'noupdate', None, _('do not create a working copy'))],
- _('[-U] SOURCE DEST')),
+ _('[-U] SOURCE [DEST]')),
}
commands.norepo += " share"