comparison mercurial/hg.py @ 26030:5243890224ff

merge with stable
author Matt Mackall <mpm@selenic.com>
date Thu, 13 Aug 2015 19:37:47 -0500
parents 130c0b83e963 d08e7449ff27
children 30be3aeb5344
comparison
equal deleted inserted replaced
26024:84c00f03e06c 26030:5243890224ff
426 raise util.Abort(_("destination '%s' is not empty") % dest) 426 raise util.Abort(_("destination '%s' is not empty") % dest)
427 427
428 shareopts = shareopts or {} 428 shareopts = shareopts or {}
429 sharepool = shareopts.get('pool') 429 sharepool = shareopts.get('pool')
430 sharenamemode = shareopts.get('mode') 430 sharenamemode = shareopts.get('mode')
431 if sharepool: 431 if sharepool and islocal(dest):
432 sharepath = None 432 sharepath = None
433 if sharenamemode == 'identity': 433 if sharenamemode == 'identity':
434 # Resolve the name from the initial changeset in the remote 434 # Resolve the name from the initial changeset in the remote
435 # repository. This returns nullid when the remote is empty. It 435 # repository. This returns nullid when the remote is empty. It
436 # raises RepoLookupError if revision 0 is filtered or otherwise 436 # raises RepoLookupError if revision 0 is filtered or otherwise