obscache: extract a data agnostic class
We now have an independent class that we can reuse for other purpose
(eg: obshashrange cache)
# utility to setup pythonpath to point into the tested repositoryexportSRCDIR=`dirname$TESTDIR`if[-n"$PYTHONPATH"];thenexportHGTEST_ORIG_PYTHONPATH=$PYTHONPATHexportPYTHONPATH=$SRCDIR:$PYTHONPATHelseexportPYTHONPATH=$SRCDIRfi