Move testing code to a new Darcs.Repository.Test (from
Darcs.Test).
I had to make Darc.Arguments stop importing Darcs.Repository,
by moving the following functions to Darcs.Repository or
Darcs.Repository.Internal
makeScriptsExecutable
listRegisteredFiles
listUnregisteredFiles
listFiles
In particular I feel that it's important that the file listing
functions belong to Darcs.Repository for the library users, since
it seems like basic repository-related functions. And that change
reduces a little the beast that is Darcs.Arguments.
As almost all modules Darcs.Commands.* relied on listRegisteredFiles
or listFiles, I had to change their imports.
1 patch for repository http://darcs.net:
Sat May 26 18:07:46 ART 2012 Guillaume Hoffmann <guillaumh@gmail.com>
* resolve issue2198 move repo testing code to Darcs.Repository.Test
also move (versioned and unversioned) file listing functions from
Darcs.Arguments to Darcs.Repository to avoid circular dependencies.
Attachments
|