##// END OF EJS Templates
wireproto: do not hash when heads == ['force']...
Martin Geisler -
r14419:ede7cea1 default
parent child Browse files
Show More
@@ -139,7 +139,7 b' class wirerepository(repo.repository):'
139 139 remote server as a bundle. Return an integer indicating the
140 140 result of the push (see localrepository.addchangegroup()).'''
141 141
142 if self.capable('unbundlehash'):
142 if heads != ['force'] and self.capable('unbundlehash'):
143 143 heads = encodelist(['hashed',
144 144 util.sha1(''.join(sorted(heads))).digest()])
145 145 else:
General Comments 0
You need to be logged in to leave comments. Login now