discovery: remove duplication for new remote head discovery
#!/bin/sh## test for issue351# Environement setup for MQecho "[extensions]" >> $HGRCPATHecho "mq=" >> $HGRCPATH#Repo inithg inithg qinitecho b > bhg ci -A -m fooecho cc > bhg qnew -f foo.diffecho b > bhg qrefreshhg debugindex .hg/store/data/b.i