This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From: "Stefan Monnier <foo@acm.com>" <monnier+gnu/cvs/help/news/@flint.cs.yale.edu> Subject: Re: Is this possible? Date: 30 Aug 2000 14:13:21 -0500 >>>>> "Gary" == Gary Smith <garysmith@reamined.on.ca> writes: > I need the ability to choose which changes I have made in a file to checkin. I often feel the same need. What I end up doing in such cases is the following: - cp <file> <file>.new - Type `=' in the *cvs* buffer (using PCL-CVS) - in the *foo-diff* buffer, I go though each hunk and use C-u C-c d a to reverse the corresponding hunks (those I don't want to commit). Of course, if I only want to commit few of the hunks, I might do the opposite, where I do a cvs-mode-undo (aka `U') after doing the cvs-mode-diff (aka `=') and then use C-c d a to apply the few hunks I want to keep. But C-c d a (aka diff-apply-hunk) is a locally hacked function that's not yet part of the official diff-mode (and it only works on unified-context-diff). Stefan