use a more reliable way to find what are the new changesets on pull/unbundle
The number of csets and the hooks where wrong (negative number of csets) when
we unbundled a bundle which contains csets we already had.
Remove unused variables.
changeset: 0:9426b370c206tag: tipuser: My Name <myname@example.com>date: Mon Jan 12 13:46:40 1970 +0000summary: commit-1