equal
deleted
inserted
replaced
402 raise util.Abort(_("destination '%s' is not empty") % dest) |
402 raise util.Abort(_("destination '%s' is not empty") % dest) |
403 |
403 |
404 shareopts = shareopts or {} |
404 shareopts = shareopts or {} |
405 sharepool = shareopts.get('pool') |
405 sharepool = shareopts.get('pool') |
406 sharenamemode = shareopts.get('mode') |
406 sharenamemode = shareopts.get('mode') |
407 if sharepool: |
407 if sharepool and islocal(dest): |
408 sharepath = None |
408 sharepath = None |
409 if sharenamemode == 'identity': |
409 if sharenamemode == 'identity': |
410 # Resolve the name from the initial changeset in the remote |
410 # Resolve the name from the initial changeset in the remote |
411 # repository. This returns nullid when the remote is empty. It |
411 # repository. This returns nullid when the remote is empty. It |
412 # raises RepoLookupError if revision 0 is filtered or otherwise |
412 # raises RepoLookupError if revision 0 is filtered or otherwise |