##// END OF EJS Templates
changegroup: reformat packermap and add comment...
Augie Fackler -
r26709:42733e95 default
parent child Browse files
Show More
@@ -776,7 +776,9 b' class cg2packer(cg1packer):'
776 return struct.pack(self.deltaheader, node, p1n, p2n, basenode, linknode)
776 return struct.pack(self.deltaheader, node, p1n, p2n, basenode, linknode)
777
777
778 packermap = {'01': (cg1packer, cg1unpacker),
778 packermap = {'01': (cg1packer, cg1unpacker),
779 '02': (cg2packer, cg2unpacker)}
779 # cg2 adds support for exchanging generaldelta
780 '02': (cg2packer, cg2unpacker),
781 }
780
782
781 def _changegroupinfo(repo, nodes, source):
783 def _changegroupinfo(repo, nodes, source):
782 if repo.ui.verbose or source == 'bundle':
784 if repo.ui.verbose or source == 'bundle':
General Comments 0
You need to be logged in to leave comments. Login now