equal
deleted
inserted
replaced
481 [b'hashed', hashutil.sha1(b''.join(sorted(heads))).digest()] |
481 [b'hashed', hashutil.sha1(b''.join(sorted(heads))).digest()] |
482 ) |
482 ) |
483 else: |
483 else: |
484 heads = wireprototypes.encodelist(heads) |
484 heads = wireprototypes.encodelist(heads) |
485 |
485 |
486 if util.safehasattr(bundle, b'deltaheader'): |
486 if util.safehasattr(bundle, 'deltaheader'): |
487 # this a bundle10, do the old style call sequence |
487 # this a bundle10, do the old style call sequence |
488 ret, output = self._callpush(b"unbundle", bundle, heads=heads) |
488 ret, output = self._callpush(b"unbundle", bundle, heads=heads) |
489 if ret == b"": |
489 if ret == b"": |
490 raise error.ResponseError(_(b'push failed:'), output) |
490 raise error.ResponseError(_(b'push failed:'), output) |
491 try: |
491 try: |