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

Re: Which branches this file belong to?

From: Wim Coenen <wcoenen_at_gmail.com>
Date: 2006-10-03 13:04:22 CEST

2006/10/3, Corrado Labinaz <corradolab@ngi.it>:
> Hi,
>
> suppose you have file trunk/myfile.c
> It goes through these modifications:
>
> revision
> 100 file created
> 150 copied to branches/release1
> 200 copied to branches/release2
> 230 copied to branches/release3
> 250 fixed bug
<snip>
> Is there a way to get the full list above?

I don't think there is an easy way. You might be interested in reading
http://svn.collab.net/repos/svn/trunk/notes/schema-tradeoffs.txt,
especially "user question #3".

Typically you are only maintaining one or two "old release" branches, so it
shouldn't be much of a problem to examine each branch to see whether
you want/need to backport your trunk change.

> "svn copy trunk/myfile.c branches/release1" should be enough most of the time.
>

I think it is safer if you merge only the specific trunk change which
you want to
backport. After all, the reason for having an "older release" dev branch is that
you only want bugfixes there. See the section "Copying Specific Changes" at
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.copychanges.html

HTH,
Wim Coenen.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 3 13:05:02 2006

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.