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/shmkdir testcd testecho foo>foohg inithg addremovehg commit -m 1hg verifyhg serve -p 20059 > /dev/null &sleep 1 # wait for server to be startedcd ..hg clone http://localhost:20059/ copycd copyhg verifyhg cocat foohg manifesthg pullkill $!