hgext/share.py
changeset 34815 68e0bcb90357
parent 34498 308aa280ed82
child 34878 9f7ecc5bbc28
equal deleted inserted replaced
34814:2d49d2eb1ff2 34815:68e0bcb90357
    98        operations will fail with "abort: working directory has unknown
    98        operations will fail with "abort: working directory has unknown
    99        parent". The only known workaround is to use debugsetparents on
    99        parent". The only known workaround is to use debugsetparents on
   100        the broken clone to reset it to a changeset that still exists.
   100        the broken clone to reset it to a changeset that still exists.
   101     """
   101     """
   102 
   102 
   103     return hg.share(ui, source, dest=dest, update=not noupdate,
   103     hg.share(ui, source, dest=dest, update=not noupdate,
   104                     bookmarks=bookmarks, relative=relative)
   104              bookmarks=bookmarks, relative=relative)
       
   105     return 0
   105 
   106 
   106 @command('unshare', [], '')
   107 @command('unshare', [], '')
   107 def unshare(ui, repo):
   108 def unshare(ui, repo):
   108     """convert a shared repository to a normal one
   109     """convert a shared repository to a normal one
   109 
   110