[darcs-users] I wish for mutable patches.

David Roundy droundy at abridgegame.org
Fri Oct 22 11:59:33 UTC 2004


On Wed, Oct 20, 2004 at 03:46:43PM +0200, Tomasz Zielonka wrote:
> On Wed, Oct 20, 2004 at 09:45:43AM -0300, zooko at zooko.com wrote:
> > What I really want is for darcs to provide me with the notion of a
> > "mutable patch" -- if I record patch A, and then Anthony pulls patch A,
> > and then I rerecord patch A (so we can call the new version A1 if you
> > like), and then Anthony pulls A1, I want it to Just Work as he and I
> > both expect instead of to screw his darcs repo up into a knot so that
> > darcs hangs when he tries to use it.
> 
> Just a random thought: what if a patch resulting from rerecord could
> require non-existence of the patch that was rerecorded? Then there could
> be an option to pull that would cause such patches to be unpulled, if
> possible.

Yes, that would be possible.  We could (if desired) just implement a
warning, or have an override option.  However, it would bloat the repo, and
reveal the fact that you made mistakes in the past...
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list