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

Re: merge using same revision number - quick question

From: Z W <mpc8250_at_gmail.com>
Date: Fri, 19 Apr 2013 17:32:28 -0700

Hi Bob

Thanks for responding. I tried it and it seems to merge ok.

We're usng SVN 1.6
We tried using svn mergeinfo to help us with finding relevant revisions to
merge from a trunk to a branch.
But when we query for merged, (even for the one above),
svn mergeinfo --shows-revs merged
(executed but it returns nothing)
But when we ran
svn mergeinfo --shows-revs eligible
(a list of revision numbers shows up including the r345).
Why is that ?

Do you have a recommendation on
1- where to get the source of all rev numbers to merge from trunk to
branch? Is svn log the only way where we have to parse the logs to get
accurate count of revision numbers since mergeinfo fails us ?
2- if we apply merging command twice with the same arguments of trunk path
directory and working copy path directory, will it hurt the branch ?


On Fri, Apr 19, 2013 at 9:36 AM, Bob Archer <Bob.Archer_at_amsi.com> wrote:

> > Hi All
> >
> > We have a revision that contains a few changed files on the trunk:
> > r345
> > /usr/ext/a.java
> > /usr/ext/b.java
> >
> > We like to merge this a branch working copy.
> > Can we perform multiple merge svn with the same revision number ?
> > We have a reason to do that; We know it doesnt make sense in this simple
> > example.
> >
> > ie can we have 2 merge svn executions and still produce the same result
> as a
> > simple merge execution.
> > meaning
> >
> > svn merge -c 345 https://test.com/svn/root/src/usr/ext/a.java
> > svn merge -c 345 https://test.com/svn/root/src/usr/ext/b.java
> >
> > as opposed to
> > svn merge -c 345 https://test.com/svn/root/src/usr/ext
> >
> >
> > Thanks all.
> The resulting commit would probably be the same... although I expect the
> merge info would be applied to the files rather than the folder. Give your
> simple example a try in a test repo.
> BOb
Received on 2013-04-20 02:32:59 CEST

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

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