[darcs-users] More questions about the code (coslurpy and ./)

Kevin Smith yarcs at qualitycode.com
Mon Nov 17 15:22:50 UTC 2003


David Roundy wrote:
> The "co" is the prefix meaning "together".  Really it should be coslurp
> rather than co_slurp, linguistically.  It does a slurp without reading any
> directories, but instead looking for files and directories having the same
> names as those in another slurpy.  

Hmmm. You pass it a slurpy, so does it effectively re-slurp that slurp, 
but leaving out anything that is not also in the path you pass? Sounds 
simple enough.

> Mostly a side effect, I'd say.  It allows me to treat the root directory as
> "just another directory" as far as slurpies are concerned.  Currently every
> patch type should have its filenames (or directory names) start with ./.
> That may change, if I choose to add support for separate namespaces for
> different sets of files.

So "filenames in patches *must* start with ./" should be considered part 
of the data format at this point?

Kevin





More information about the darcs-users mailing list