diff -r 791405fe9991 -r 50de0887bbcd mercurial/commands.py --- a/mercurial/commands.py Thu Feb 16 14:34:59 2006 -0800 +++ b/mercurial/commands.py Fri Feb 17 08:26:21 2006 -0800 @@ -622,7 +622,7 @@ dest = ui.expandpath(dest, repo.root) other = hg.repository(ui, dest) o = repo.findoutgoing(other) - cg = repo.changegroup(o) + cg = repo.changegroup(o, 'bundle') try: f.write("HG10") @@ -1999,7 +1999,7 @@ arg, roots = getarg() nodes = map(bin, roots.split(" ")) - cg = repo.changegroup(nodes) + cg = repo.changegroup(nodes, 'serve') while 1: d = cg.read(4096) if not d: