Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 3704:9c1737a3e254
fix writebundle for bz2 bundles
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 22 Nov 2006 22:08:00 +0100 |
parents | 69cf255a55a1 |
children | 0d810798acb1 |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Nov 21 23:08:29 2006 -0200 +++ b/mercurial/commands.py Wed Nov 22 22:08:00 2006 +0100 @@ -332,7 +332,7 @@ cg = repo.changegroupsubset(o, revs, 'bundle') else: cg = repo.changegroup(o, 'bundle') - changegroup.writebundle(cg, fname, "HG10") + changegroup.writebundle(cg, fname, "HG10BZ") def cat(ui, repo, file1, *pats, **opts): """output the latest or given revisions of files @@ -1324,7 +1324,7 @@ if fname or not other.local(): # create a bundle (uncompressed if other repo is not local) cg = other.changegroup(incoming, "incoming") - type = other.local() and "HG10" or "HG10UN" + type = other.local() and "HG10BZ" or "HG10UN" fname = cleanup = changegroup.writebundle(cg, fname, type) # keep written bundle? if opts["bundle"]: