changeset 14419 | ede7cea1550f |
parent 14093 | ce99d887585f |
child 14436 | 5adb52524779 |
--- a/mercurial/wireproto.py Tue May 24 14:21:04 2011 +0200 +++ b/mercurial/wireproto.py Tue May 24 16:12:01 2011 +0200 @@ -139,7 +139,7 @@ remote server as a bundle. Return an integer indicating the result of the push (see localrepository.addchangegroup()).''' - if self.capable('unbundlehash'): + if heads != ['force'] and self.capable('unbundlehash'): heads = encodelist(['hashed', util.sha1(''.join(sorted(heads))).digest()]) else: