On Thu, Aug 14, 2008 at 01:17:34PM -0700, Eric Kow wrote: > Possibly a pointless refactor :-) > > Thu Aug 14 21:13:23 BST 2008 Eric Kow <[EMAIL PROTECTED]> > * refactor: Add Darcs.Repository.createInventory (from darcs init).
If we're going to do this refactor, we should do it right, which means not creating createInventory, but rather createRepository. Darcs.Repository is supposed to export functions that are safe to use on their own and don't require special care or interaction with other functions. In this case, createInventory only creates part of a repository, and requires that you also create the format, etc. So you'll need to move more of Init into Darcs.Repository, or we could leave Init as a special case (since it's currently the only function that creates a repository). David _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
