equal
deleted
inserted
replaced
2761 yield chunk |
2761 yield chunk |
2762 else: |
2762 else: |
2763 raise util.Abort(_("%s: unknown bundle compression type") |
2763 raise util.Abort(_("%s: unknown bundle compression type") |
2764 % fname) |
2764 % fname) |
2765 gen = generator(util.filechunkiter(f, 4096)) |
2765 gen = generator(util.filechunkiter(f, 4096)) |
2766 modheads = repo.addchangegroup(util.chunkbuffer(gen), 'unbundle') |
2766 modheads = repo.addchangegroup(util.chunkbuffer(gen), 'unbundle', |
|
2767 'bundle:' + fname) |
2767 return postincoming(ui, repo, modheads, opts['update']) |
2768 return postincoming(ui, repo, modheads, opts['update']) |
2768 |
2769 |
2769 def undo(ui, repo): |
2770 def undo(ui, repo): |
2770 """undo the last commit or pull (DEPRECATED) |
2771 """undo the last commit or pull (DEPRECATED) |
2771 |
2772 |