On Thu, Nov 09, 2006 at 09:35:27PM +0200, Yuval Kogman wrote: > On Thu, Nov 09, 2006 at 10:30:36 -0600, Drew Vogel wrote: > > But darcs is generating a hunk that includes the code that I've > > shortened to [... a ton of code ...] above because it finds the > > "summarize-calls-by-interviewer" text below it. I know I should > > have made these changes separately, but it's a little late now > > :) Is there a way to make darcs be less aggressive/exhaustive > > while it is diff'ing? [...] > The real solution is to darcs get the repo to a /tmp dir, edit > the parts you want, and record. then you can copy your file to a > new place in your original working dir, revert, pull from the tmp > repo, and then move the file over the updated one, and record the > rest of the change.
I usually make a plain backup copy of the file, delete the unwanted changes in the original, record the wanted changes, and restore the deleted changes from the backup. Sometimes I just delete the unwanted changes, record, and use undo in the text editor to get the deleted change back (but that's a little scary). But a way to split hunks up in the record dialogue would be awesome. -- Tommy Pettersson <[EMAIL PROTECTED]> _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
