Ian Lynagh wrote: > On Thu, Aug 12, 2010 at 10:12:19PM +0200, Ben Franksen wrote: >> No, I was using interactive UI. The patch (call it A) I wanted to >> rollback had another patch (call it B) depending on it. B was offered by >> 'darcs rollback' and when I said 'n[o]' (because I want to rollback A) >> then I do not get offered A. How do I rollback A? Is it impossible and if >> yes, why? > > Consider an example: > > A: Change "111" to "222" > B: Change "222" to "333" > > What does it mean to roll back A but not B?
You got me there. I have not really thought about what it means for one patch to depend on another. There are, however, two cases where it would make sense. First, A may contain two unrelated changes, only of which is actually depended upon by B. Second, B may be a tag. I think there is a case to be made for darcs rollback to silently assume a 'yes' for tags depending on patch I want to rollback. After all, a tag does not do any actual changes, so this should be safe. Maybe add a flag to enable this behaviour? Cheers Ben _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
