Ideally I’d like to see it eventually integrated to hub.darcs.net, something like a “download zip” button.
- is it better than a server-side generation of tar.gz? after all darcsden uses darcs.
The aim is to make it easy for someone to send a bugfix to a project.
The idea is to have a small and easily maintainable program. Hence, it has to be reduced to the most vital features.
Maybe fancy commands like log (without flags, hence without -v) and whatsnew could be added in a non-initial version.
- get a working copy (from a local repository or http)
- get a complete clone of a darcs repository (local or http)
- log, ie, display the list of patches of the current repo
- whatsnew, ie, display changes between working copy and pristine
- revert -a, ie, reset working copy to pristine
- makebundle, ie, do a record -a and send -O
Bonus points for writing the test scripts alongside with the actual code.
- grab pristine hash
- create blob/base64 URI
- pass it to browser to download as single file
Tools to do this: