changeset 15741 | 60344b83e442 |
parent 15590 | dbdb8aa70503 |
child 15837 | cd956049fc14 |
--- a/mercurial/hg.py Mon Dec 26 13:47:37 2011 +0100 +++ b/mercurial/hg.py Mon Dec 26 13:48:31 2011 +0100 @@ -183,7 +183,10 @@ try: hardlink = None num = 0 + srcpublishing = srcrepo.ui.configbool('phases', 'publish', True) for f in srcrepo.store.copylist(): + if srcpublishing and f.endswith('phaseroots'): + continue src = os.path.join(srcrepo.sharedpath, f) dst = os.path.join(destpath, f) dstbase = os.path.dirname(dst)