all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: Ediff and merge
Date: Sun, 17 May 2009 07:30:31 +0300	[thread overview]
Message-ID: <877i0gtkpk.fsf@kobe.laptop> (raw)
In-Reply-To: mailman.7259.1242469777.31690.help-gnu-emacs@gnu.org

On Sat, 16 May 2009 12:28:23 +0200, Rasmus Pank Roulund <rasmus.pank@gmail.com> wrote:
> Hello Giorgos,
> Yeah ediff is great. I use svn from within emacs with psvn.el. The
> tool is called svn-status within emacs. It has built in support for
> Ediff. I just RET on a conflicted file and it go to SMerge minor mode
> (I think) and from there I can enter ediff.
>
> However, I think "R" is the command I am looking for. When I "A" and
> "B"'ed through all the conflict points and I am done I need the
> command to end it naturally.

Ah, I see.  I haven't used psvn (the VC support for svn is mostly fine
for what I usually do), so I am not sure if the script I posted can fit
well with psvn.

> The script you posted looks interesting. Would you be able to post it
> again as an attached file? The line breaking has been broken in my
> Gnus. Is this script mainly for command line or will it have an effect
> when I use SVN through an emacs-mode like psvn.el?

Sure, I can attach it, but I am reading gnu.emacs.help posts through
NNTP, so it may not come through.  I uploaded a copy to:

  http://people.freebsd.org/~keramida/svn-ediff-merge.sh

I have only used the script with the command-line merges of "svn
merge".  It may be easy to hack the script a bit and integrate it with
psvn, but I am not sure if that would work or if it would useful.

> This is really the funcitonallity I am looking for! Is it built into
> ediff or do I need your script to perform this action?

It is part of the interaction between the command-line svn(1) utility
and the way the script works.  svn(1) passes filename paths to the
script.  These filename arguments are described in the toplevel comments
of the script:

#   BASE  = base revision; the common ancestor of $other and $local
#   OTHER = parent branch version
#   LOCAL = locally modified version
#   WC    = working copy; the file where merge results should be saved

The `WC' filename (positional argument $4) is the path of the file
inside the subversion workspace, so the script tries to save any
successful merge result to that path.



  parent reply	other threads:[~2009-05-17  4:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7223.1242416089.31690.help-gnu-emacs@gnu.org>
2009-05-16  4:30 ` Ediff and merge Giorgos Keramidas
2009-05-16 10:28   ` Rasmus Pank Roulund
     [not found]   ` <mailman.7259.1242469777.31690.help-gnu-emacs@gnu.org>
2009-05-17  4:30     ` Giorgos Keramidas [this message]
2009-05-15 19:34 Rasmus Pank Roulund

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=877i0gtkpk.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --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.