Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 3859:8c24b6fd5866
fix errors spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 10 Dec 2006 19:41:57 +0100 |
parents | 7c12958eba26 |
children | 46abbed02b2d |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Dec 10 16:24:21 2006 +0100 +++ b/mercurial/commands.py Sun Dec 10 19:41:57 2006 +0100 @@ -2474,7 +2474,7 @@ Apply a compressed changegroup file generated by the bundle command. """ - gen = changegroup.readbundle(urllib.urlopen(fname)) + gen = changegroup.readbundle(urllib.urlopen(fname), fname) modheads = repo.addchangegroup(gen, 'unbundle', 'bundle:' + fname) return postincoming(ui, repo, modheads, opts['update'])