hgext/share.py
changeset 27353 98e59d9e0d77
parent 27186 34d26e22a2b0
child 29424 f21e0d91d386
equal deleted inserted replaced
27352:9fd8f1552369 27353:98e59d9e0d77
    71        operations will fail with "abort: working directory has unknown
    71        operations will fail with "abort: working directory has unknown
    72        parent". The only known workaround is to use debugsetparents on
    72        parent". The only known workaround is to use debugsetparents on
    73        the broken clone to reset it to a changeset that still exists.
    73        the broken clone to reset it to a changeset that still exists.
    74     """
    74     """
    75 
    75 
    76     return hg.share(ui, source, dest, not noupdate, bookmarks)
    76     return hg.share(ui, source, dest=dest, update=not noupdate,
       
    77                     bookmarks=bookmarks)
    77 
    78 
    78 @command('unshare', [], '')
    79 @command('unshare', [], '')
    79 def unshare(ui, repo):
    80 def unshare(ui, repo):
    80     """convert a shared repository to a normal one
    81     """convert a shared repository to a normal one
    81 
    82