This is more or less a followup bundle to patch442. Among Florent's
suggestions were:
* the removal of the nopristine = NoPristine function
* fixing the bug strings in Darcs.Repository.Pristine
* writing haddocks for some functions in this module
(I wrote just two miserable haddock lines)
So this bundle focusses on the Darcs.Repository.Pristine module.
There are some contigent patches that do some cleanup on unused stuff.
The last patch removes the command darcs optimize --relink-pristine.
The reason for this removal is that this command is said to be
not recommended to use, it only works on OF repositories and there
is no test for it.
Removing it enables to remove yet another function in D.R.P .
7 patches for repository http://darcs.net:
Tue Nov 9 19:18:44 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* remove unused getRepoPop function
Tue Nov 9 17:37:51 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* remove the nopristine function
Tue Nov 9 19:47:33 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* unused return value of createPristine
Wed Nov 10 09:47:35 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* remove dangling doc paragraph from 2002 in DarcsRepo
Wed Nov 10 09:50:28 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* in Pristine use bug more and remove unused functions
Wed Nov 10 10:06:45 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* haddock for createPartialsPristineDirectoryTree
Wed Nov 10 10:21:22 CET 2010 Guillaume Hoffmann <guillaumh@gmail.com>
* remove command optimize --relink-pristine
Grabbing this as it's been sitting around for a while.
Looks good. I agree about removing --relink-pristine. I think the newer
cache machinery is a good alternative (on hashed repos) anyway.