General tidy-up of Repository.Format, followed by a refactor to parse the
format strings once, and store the result using an ADT. This prevents the need
to do so many dubious String->ADT->String conversions.
3 patches for repository http://darcs.net:
Fri Apr 13 01:59:10 BST 2012 Owen Stephens <darcs@owenstephens.co.uk>
* Tidy Repository.Format
Tue Apr 17 09:02:38 BST 2012 Owen Stephens <darcs@owenstephens.co.uk>
* More tidying of Repository.Format
Tue Apr 17 13:03:09 BST 2012 Owen Stephens <darcs@owenstephens.co.uk>
* Parse RepoFormat properties once, storing as an ADT, rather than a ByteString.
We used to have to do various conversions to/from ByteStrings, which seems
unclean and less safe.
Self-accepting; I'd like someone to just check over the last patch. I
think the shell tests are pretty good for this module, so am confident
I've not broken things.