[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

How to mimic svn merge with unix tools

From: Florian Kaufmann <sensorflo_at_gmail.com>
Date: Fri, 8 Aug 2008 00:46:23 -0700 (PDT)

My final goal is that I can do the idea of 'cherry picking' also with
version control system I am forced to use at my workplace -
microsoft's vss. I
have cygwin installed, so I have all the gnu tools like diff, diff3

As far as I understand, many svn diff/merge/update operations can also
be done
using these gnu tools. So I don't really need svn. E.g. to mimic "svn
update myfile"
I get the base and the head revision of myfile and then do "diff3
myfile base head". The only difference is that a diffrent diff tool is

Now I am asking myself what I have to do to mimic "svn merge -r 10:11
repos_path/branch/myfile". Anyone?

Anyway, I don't even properly understand if svn merge has 3 or 4 input

trunk --- 5---...---10---11
branch \---...---15
working X

Say I want to merge the changeset 11 into my working copy which's base
is 15.
Now does or dosen't svn merge also look at the common anchestor 5?
Does it look
at the version 15 (the base)? I'am asking this because the manual says
svn merge
might doesn't do what I want if I already did some local changes to my
copy. That suggests that svn merge also looks at the base revision
(here 15),
not only my working copy.

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-08 16:49:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.