hgext/share.py
changeset 8807 8bf6eb68ddaf
parent 8801 28eaf6f8abce
child 8873 e872ef2e6758
--- 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"