[darcs-users] Need help getting off darcs

Nathan Gray kolibrie at graystudios.org
Wed Jan 9 21:37:14 UTC 2008


On Wed, Jan 09, 2008 at 03:20:19PM +0100, Lele Gaifax wrote:
> On Wed, 9 Jan 2008 08:49:24 -0500
> Nathan Gray <kolibrie at graystudios.org> wrote:
> > 
> > Did you try the 
> > 
> >   'darcs changes --xml' -> XSLT -> shell script
> > 
> > solution I presented?
> 
> Hi Nathan,
> 
> maybe I'm too distracted on other things and missed it, but is this
> available somewhere? I was thinking about wrapping it in an
> alternative darcs source backend for tailor... do you see it possible?

I attached it to an e-mail dated 2008-01-03 within this thread.

One way to use it is:

  darcs changes --xml -s --reverse --repodir /path/to/source/repo | xsltproc changes2ordered_repo.xsl - > ordered_repo.sh

Right now it will create a new darcs repo with all patches reordered
into chronological order.  It does this by reading the patch files
from the source repo and assembling patch bundles, which are applied
to the target repo.

To be used by tailor, it should probably read one patch at a time
(rather than the 100 it is currently set to).  Right after each 'darcs
apply' some tailor command could be run.

Let me know if you are not able to find the changes2ordered_repo.xsl
attachment and I'll send it to you off list.

-kolibrie



More information about the darcs-users mailing list