comparison COPYING @ 21259:ab5040cd5749

bundle2: fix bundle2 pulling all revs on empty pulls When bundle2 was enabled, if hg pull had no commits to pull, it would print 'no changes found' and then download the entire repository from the server. This was caused by heads and common being set to None, which gets treated as heads=cl.heads() and common=[nullid], which means download the entire repo. Pulling bundles without a changegroup is a valid use case (like if we're just updating bookmarks), so this modifes the bundle code to allow not adding changegroups.
author Durham Goode <durham@fb.com>
date Wed, 07 May 2014 17:24:19 -0700
parents 8c8b55733cbd
children
comparison
equal deleted inserted replaced
21258:71931b789424 21259:ab5040cd5749