Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 2673:109a22f5434a
hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
all repository classes now have url() method that returns url of repo.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 25 Jul 2006 13:50:32 -0700 |
parents | 2c5d5cf35034 |
children | 0fb28dbf0dc7 4af4e1870fa0 |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Jul 25 21:22:56 2006 +0200 +++ b/mercurial/commands.py Tue Jul 25 13:50:32 2006 -0700 @@ -2763,7 +2763,8 @@ raise util.Abort(_("%s: unknown bundle compression type") % fname) gen = generator(util.filechunkiter(f, 4096)) - modheads = repo.addchangegroup(util.chunkbuffer(gen), 'unbundle') + modheads = repo.addchangegroup(util.chunkbuffer(gen), 'unbundle', + 'bundle:' + fname) return postincoming(ui, repo, modheads, opts['update']) def undo(ui, repo):