Review Request #2051 — Created Jan. 20, 2011 and discarded
Darcs (http://darcs.net) is an open-source distributed version control system. This patch adds support for local and remote Darcs repositories and the Darcs diff format.
I have tested the following on Linux: * Adding Darcs repositories to Review Board * Uploading and viewing diffs generated with 'darcs diff -u'
Revision markers of some sort are critical. A diff will not be able to be seen once any of the files are changed on the repository, so we require it for all SCMTools. Not all diffs contain revision markers of any sort by default, so in that case we invent them. It means adding support to our post-review tool and requiring that, though. It's necessary when the diff doesn't natively give us the information we need.
This version actually handles revisions correctly. It requires diffs to have a Darcs patch bundle embedded in their header, per my patches to postreview. The context patches are read from the patch bundle and the revision is taken as the most recent patch in the context. The revision strings can end up being dozens of lines long, so I replace the extra lines with an ellipsis when viewing the diff. Is there a preferred way to do this?
Revision 4 (+148)