[darcs-users] apply a darcs patch to non-darcs tree

Stephen J. Turnbull stephen at xemacs.org
Thu Nov 4 13:19:13 UTC 2010


Isaac Dupree writes:

 > I naively hope that a .dpatch file contains as much (and more) 
 > information as a .patch file.

No.  It lacks context.  In this sense, it's like an augmented normal
diff (where "augmented" refers to the ability to represent file
removal or addition, as well as the token-replace patch type),
although it uses "+" and "-" to indicate additions and deletions, like
a unified diff.  Or maybe it's closest to a diff -U 0 patch.

 > (If it actually is possible, then maybe it's a feature-request -- that, 

It shouldn't be that hard to do.  The header format that says what
file to apply to and which line should not be hard to translate.


More information about the darcs-users mailing list