annotate mercurial/repo.py @ 1980:dfb796786337
use HG10UN header for uncompressed bundle
- use HG10UN instead of HG11 for uncompressed bundles header
- check HG10BZ for compressed bundle
- better error handling for invalid header
some notes:
- people who created uncompressed bundle will no longer be
able to use them (it could be fixed with hand-editing)
- older hg cannot detect an uncompressed bundle
(bzip2 decompression will fail).
author |
Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
date |
Tue, 21 Mar 2006 06:03:33 +0100 |
parents |
142b5d5ec9cc |
children |
ffb895f16925 |
rev |
line source |
1089
|
1 # repo.py - repository base classes for mercurial
|
|
2 #
|
|
3 # Copyright 2005 Matt Mackall <mpm@selenic.com>
|
|
4 #
|
|
5 # This software may be used and distributed according to the terms
|
|
6 # of the GNU General Public License, incorporated herein by reference.
|
|
7
|
|
8 class RepoError(Exception): pass
|