Show More
@@ -139,7 +139,7 b' class wirerepository(repo.repository):' | |||||
139 | remote server as a bundle. Return an integer indicating the |
|
139 | remote server as a bundle. Return an integer indicating the | |
140 | result of the push (see localrepository.addchangegroup()).''' |
|
140 | result of the push (see localrepository.addchangegroup()).''' | |
141 |
|
141 | |||
142 | if self.capable('unbundlehash'): |
|
142 | if heads != ['force'] and self.capable('unbundlehash'): | |
143 | heads = encodelist(['hashed', |
|
143 | heads = encodelist(['hashed', | |
144 | util.sha1(''.join(sorted(heads))).digest()]) |
|
144 | util.sha1(''.join(sorted(heads))).digest()]) | |
145 | else: |
|
145 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now