[darcs-users] reviewing and testing pulls

zooko at zooko.com zooko at zooko.com
Tue Apr 27 10:05:36 UTC 2004


> It seems like it would be quite possible to write a tool that would 
> compare your recorded repo against (the working directory + a patch 
> set). But what I really want is the ability to use any existing tool to 
> do that comparison.

> Also, I want to build and test a "candidate" that includes an external 
> patch, prior to committing to including that patch in my repo. It seems 
> like a broken process if I have to put it in my repo first, and then 
> unpull or unrecord or rollback if I don't like it.

How's this?  (Proof of concept.)

cd .. && cp -rf myrepo tmprepo && cd tmprepo && darcs pull patchsrcrepo && 
cd .. && diff -u -r --exclude=_darcs myrepo tmprepo

Regards,

Zooko





More information about the darcs-users mailing list