[darcs-users] Open Source Hebrew Roots Bible; darcs the right software to use?
Tommy Pettersson
ptp at lysator.liu.se
Tue Apr 4 11:01:23 UTC 2006
I don't think darcs can do a good job on your project. Darcs
works for lines collected in files, not for words collected in
lines. If each verse was a separate file as Max Battcher
suggested, and in addition each word was on a separate line,
darcs would however do a great job.
The problem with single line verses is that hunk patches won't
commute. Each patch will completely replace the old line with a
new one and therefore depend on the most previous line, so
cherry picking among patches on a single verse will not be
possible.
There is a wish item in the darcs bug tracker for user supplied
filters that transform data before it enters or leaves darcs.
Such filters could split verse files (if you verse willing to
use one file per verse) up in one word per line as they are fed
to darcs, and conversely join them back to single lines of text
when they come out again. That would make the one-word-per-line
invisible and transparent, but the output of 'darcs diff' and
the contents of darcs patches would look, hm... different. And
these filters are not implemented yet anyway.
Some sort of word based paragraph patch has also been discussed,
but nothing has been implemented.
--
Tommy Pettersson <ptp at lysator.liu.se>
More information about the darcs-users
mailing list