localrepo: improve readability of _findtags(), readtags() (
issue548).
- rename many local variables
- add some comments
- refactor call to line.split() (catch ValueError rather
than checking length of return value: one less local variable)
#!/bin/sh
echo "[extensions]" >> $HGRCPATH
echo "hgk=" >> $HGRCPATH
hg init repo
cd repo
echo a > a
hg ci -Am adda
hg debug-cat-file commit 0