patchbomb: fix bug introduced in 4ddfad7ebd98 and add test
Thanks to Augie Fackler for reporting this.
% change the id of the tree rootinitializing destination source-hg repositoryscanning source...sorting...converting...1 Initial add0 Changed root% manifest of tip644 file