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"lsecho This is file b1 > bhg add bhg commit -m "commit #1" -d "0 0"hg co 0# B should disappearls