Fix traceback when nothing was added during unbundle
The changegroup and commit hook are now run only when
something is modified.
The correct number of changesets added is printed.
#header#<title>Mercurial repositories index</title></head><body><h2>Mercurial Repositories</h2>The specified repository "#repo#" is unknown, sorry.Please go back to the main repository list page.#footer#