Joey Hess
2172cc586e
where indenting
2012-11-11 00:51:07 -04:00
Joey Hess
184a69171d
removed another 10 lines via ifM
2012-03-16 01:59:07 -04:00
Joey Hess
146c36ca54
IO exception rework
...
ghc 7.4 comaplains about use of System.IO.Error to catch exceptions.
Ok, use Control.Exception, with variants specialized to only catch IO
exceptions.
2012-02-03 16:47:24 -04:00
Joey Hess
4a02c2ea62
type alias cleanup
2011-12-31 04:11:58 -04:00
Joey Hess
bf460a0a98
reorder repo parameters last
...
Many functions took the repo as their first parameter. Changing it
consistently to be the last parameter allows doing some useful things with
currying, that reduce boilerplate.
In particular, g <- gitRepo is almost never needed now, instead
use inRepo to run an IO action in the repo, and fromRepo to get
a value from the repo.
This also provides more opportunities to use monadic and applicative
combinators.
2011-11-08 16:27:20 -04:00
Joey Hess
6a6ea06cee
rename
2011-10-05 16:02:51 -04:00
Joey Hess
cfe21e85e7
rename
2011-10-04 00:59:08 -04:00
Joey Hess
8ef2095fa0
factor out common imports
...
no code changes
2011-10-03 23:29:48 -04:00
Joey Hess
00153eed48
unify elipsis handling
...
And add a simple dots-based progress display, currently only used in v2
upgrade.
2011-07-19 14:07:23 -04:00
Joey Hess
e784757376
hlint tweaks
...
Did all sources except Remotes/* and Command/*
2011-07-15 03:12:05 -04:00
Joey Hess
c048905dc4
upgrade messages
2011-03-21 20:48:58 -04:00
Joey Hess
500c4e44c5
v1 -> v2 upgrade partially working
...
still need to move location log files, and auto-commit
2011-03-16 02:35:48 -04:00
Joey Hess
e227c210ec
upgrade groundwork
...
pulled in old versions of functions for working with keys
Wrote a parser from old key filenames to new keys.
2011-03-16 01:23:20 -04:00