mercurial/bundlerepo.py
changeset 24306 6ddc86eedc3b
parent 24073 ff5caa8dfd99
child 24686 e0e28e910fa3
--- a/mercurial/bundlerepo.py	Fri Mar 13 14:20:13 2015 -0400
+++ b/mercurial/bundlerepo.py	Fri Mar 13 17:00:06 2015 -0400
@@ -426,7 +426,10 @@
             rheads = None
         else:
             cg = other.changegroupsubset(incoming, rheads, 'incoming')
-        bundletype = localrepo and "HG10BZ" or "HG10UN"
+        if localrepo:
+            bundletype = "HG10BZ"
+        else:
+            bundletype = "HG10UN"
         fname = bundle = changegroup.writebundle(ui, cg, bundlename, bundletype)
         # keep written bundle?
         if bundlename: