[darcs-users] use case showing DARCS's unique features?

David Roundy droundy at abridgegame.org
Mon Jun 30 12:56:11 UTC 2003


On Sun, Jun 29, 2003 at 11:11:29AM -0400, Zooko wrote:
> To avoid confusion with the issue of metadata, we could rewrite this use
> case to have only one file:
> 
> Already existing before this scenario starts is a file that is only one
> line long.  The line is: "#!/usr/bin/runhugs".
> 
> Patch A: Add these four lines to the file:
> 
> """
> 
> main =
>     do
>     print "hello world!"
> """
> 
> Patch B: change the last line of the file from 'print "hello world!"' to 
> 'print "yellow whirled!"'.
> 
> Patch C: change the first line of the file from "#!/usr/bin/runhugs" to 
> "#!/usr/bin/env runhugs".
> 
> Now if I start with the original version of the file, and I ask my revision 
> control system to pull patch B, I want the RCS to say "Patch B depends on 
> Patch A.".  If I ask it to pull patch A or patch C, I want it to just do it.
> 
> So you say that DARCS will do this for me and that arch won't?

That is correct, and a better example than mine.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list