Commit patches to Darcs, Git, Mercurial, Bazaar, Monotone, Subversion, or CVS
commit-patch relies on several programs to get the job done:
and, of course, one of:
On Debian/Ubuntu:
apt-get install libipc-run-perl patch patchutils
On Fedora:
yum install perl-IPC-Run patch patchutils
On Mac OS X w/ Homebrew
brew install patchutils
cpan -i IPC::Run
commit-patch is known to run on Linux and Mac OS X. It is perl, so ideally it will run anywhere, but we have never tested in other environments, most notably Windows. Use at your own risk.
-
commit-patch: See the man page or perldoc:
man ./commit-patch.1 perldoc commit-patch
-
commit-patch-buffer.el is an emacs interface to commit-patch. It allows you to just hit C-c C-c in any patch buffer to apply and commit only the changes indicated by the patch, regardless of the changes in your working directory.
One method of working with commit-patch-buffer is to just M-x vc-diff a file then kill, split or edit the resulting hunks and to then hit C-c C-c to commit the patch. The other is to use PCL cvs mode to tag many files and then to diff them into a buffer which can again be edited and committed.
https://porkrind.org/commit-patch/
- David Caldwell [email protected]
- Jim Radford [email protected]
Copyright © 2003-2021 by David Caldwell and Jim Radford.
commit-patch
is distributed under the GNU General Public
License. See the COPYING file in the distribution for more
details.