parameters: (source, dest, branch=None, revision=None)
return_statement: return update(dest, branch=branch, revision=revision)
docstring: Creates a new working directory in "dest" that shares history with
         "source" using Mercurial's share extension
docstring_summary: Creates a new working directory in "dest" that shares history with
         "source" using Mercurial's share extension
docstring_tokens: Creates a new working directory in dest that shares history with source using Mercurial s share extension
function: def share(source, dest, branch=None, revision=None):
      """Creates a new working directory in "dest" that shares history with
         "source" using Mercurial's share extension"""
      run_cmd(['hg', 'share', '-U', source, dest])
      return update(dest, branch=branch, revision=revision)
function_tokens: def share ( source , dest , branch = None , revision = None ) : run_cmd ( [ 'hg' , 'share' , '-U' , source , dest ] ) return update ( dest , branch = branch , revision = revision )