From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: emacs-help <help-gnu-emacs@gnu.org>
Subject: Re: Committing only specific hunks in VC
Date: Tue, 11 Jan 2011 14:57:32 -0800 [thread overview]
Message-ID: <AANLkTineOGzrRyX1ppsiu88HzBJ5wffEZxfx=nqcD0D4@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimqMAvOdEd_TXMKg87yoaTzrWEY9uZCMuKF0Zut@mail.gmail.com>
On Mon, Jan 10, 2011 at 9:40 PM, Deniz Dogan <deniz.a.m.dogan@gmail.com> wrote:
> I have a bunch of files that have been modified and I'd like to commit
> all of these changes except for one hunk in one of the files.
>
> How would I do this from Emacs? I've heard that it's possible to stage
> only specific hunks in magit, but I'm using Mercurial.
I don't know of a way to do it from Emacs, but with git its trivial to
interactively add the hunks (git add -i file or git add -p file) from
the terminal and then commit from the
terminal or from emacs using vc-dir. Does mercurial has similar
interactive adding facilities?
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-01-11 22:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-11 5:40 Committing only specific hunks in VC Deniz Dogan
2011-01-11 22:57 ` suvayu ali [this message]
2011-01-12 8:53 ` Alberto Luaces
2011-01-12 9:03 ` Deniz Dogan
2011-01-12 9:40 ` Oleksandr Gavenko
[not found] ` <mailman.33.1294825218.12535.help-gnu-emacs@gnu.org>
2011-01-12 21:06 ` Colin S. Miller
2011-02-18 19:08 ` jpkotta
[not found] <mailman.5.1294724484.29161.help-gnu-emacs@gnu.org>
2011-01-11 17:28 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTineOGzrRyX1ppsiu88HzBJ5wffEZxfx=nqcD0D4@mail.gmail.com' \
--to=fatkasuvayu+linux@gmail.com \
--cc=deniz.a.m.dogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.