Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/hg.py Wed Aug 12 19:44:21 2015 -0700 +++ b/mercurial/hg.py Thu Aug 13 19:37:47 2015 -0500 @@ -428,7 +428,7 @@ shareopts = shareopts or {} sharepool = shareopts.get('pool') sharenamemode = shareopts.get('mode') - if sharepool: + if sharepool and islocal(dest): sharepath = None if sharenamemode == 'identity': # Resolve the name from the initial changeset in the remote