On 2005-06-07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> While we're at it, I've never quite understood the utility of >> amend-record, unrecord, etc. It seems that they would likely cause >> major breakage if used on a repo that anyone else ever pulls or pushes >> to/from. What is the usage scenario for them, and what makes them so >> very useful? > > As a not-an-expert-but-loving-it user of darcs I can testify that > personally I love those commands. :)
OK :-) > It probably comes down to your usage style, which both depends on the > project and of your personality - are you maintaining code or say blog > articles? Are you a person who does everything *right* from the start or > are you like me who iterates and makes quite a bit of mistakes? I certainly don't do everything right from the start, but I also consider it wrong to munge the revision history. If it takes me awhile to fix it, fine, it'll all be in the history. Periodically, I discover I did to it right from the start, and the fix broke it, so having that history is useful. I guess I'm not sure what the utility over all this is, over simply recording a new patch that fixes things. > Since your local repo is typically your own personal branch - then that > is probably the only place where you would use them. And of course, you > need to keep track if you have "published" the patches in question or > not. Right, I push out patches very frequently and use darcs as a utility to make it easy to work on things from different machines. Now, one other thing to say is that "darcs rollback" doesn't work so well. I frequently find myself using "darcs diff -u -p whatever | patch -p1 -R" instead of darcs rollback because darcs rollback gets all involved in patch dependencies and the like. I would like to have an option that says "just apply the changes from this patch to my working directory in reverse, and ignore the dependencies." It could use the normal conflict marking mechanisms. The darcs diff and patch option isn't 100% there since it doesn't track renames. -- John _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
