Add branchtags function with cache
- cache stores tipmost node and rev and node,label pairs
- if cache is out of date, scan new changesets
- write new cache out after scan
#!/bin/shmkdir acd ahg initecho foo > bhg add bhg ci -m "b" -d "1000000 0"chmod -w .hgcd ..hg clone a bchmod +w a/.hg # let test clean upcd bhg verify