The team behind testhg2 is using the Mercurial software to manage the source code.
hg clone https://archive.srchub.org/hg/testhg2
Find here more details on how to access testhg2 source code.