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.
#!/bin/shhg initecho This is file a1 > ahg add ahg commit -m "commit #0" -d "0 0"touch bhg add brm bhg commit -A -m"comment #1" -d "0 0"