##// END OF EJS Templates
exchange: do not attempt clone bundle if local repo is non-empty (issue4932)
Gregory Szorc -
r26855:9350f00a stable
parent child Browse files
Show More
@@ -1658,6 +1658,10 b' def _maybeapplyclonebundle(pullop):'
1658 if not repo.ui.configbool('experimental', 'clonebundles', False):
1658 if not repo.ui.configbool('experimental', 'clonebundles', False):
1659 return
1659 return
1660
1660
1661 # Only run if local repo is empty.
1662 if len(repo):
1663 return
1664
1661 if pullop.heads:
1665 if pullop.heads:
1662 return
1666 return
1663
1667
@@ -167,12 +167,6 b" Incremental pull doesn't fetch bundle"
167 $ cd partial-clone
167 $ cd partial-clone
168 $ hg pull
168 $ hg pull
169 pulling from http://localhost:$HGPORT/
169 pulling from http://localhost:$HGPORT/
170 applying clone bundle from http://localhost:$HGPORT1/partial.hg
171 adding changesets
172 adding manifests
173 adding file changes
174 added 0 changesets with 0 changes to 1 files
175 finished applying clone bundle
176 searching for changes
170 searching for changes
177 adding changesets
171 adding changesets
178 adding manifests
172 adding manifests
General Comments 0
You need to be logged in to leave comments. Login now