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

recreate branch to preserve history

From: Koskelin, Kris <Kris_Koskelin_at_trekbikes.com>
Date: Thu, 31 Jan 2008 08:24:23 -0600

I've read through the FAQ and searched the mailing list relating to this
question, but would like input from more experienced users of
Subversion. I've still got lots to learn!


It's important for me to have detailed history available because I want
to generate a changelog showing the who/what/when of each file
modification, but using "svn log" on the testBranch will only show my
commit of "merged from trunk_at_r1234" with a laundry-list of files.


What would be the disadvantages of doing the following steps (instead of
merging trunk to testBranch) in order to preserve change history for
"svn log" generation?

svn move [...]/branches/testBranch [...]/tags/build_xxxx

svn copy [...]/trunk [...]/branches/testBranch


I know that svn does "lazy copies", but if I'm doing the above procedure
once per week, are there adverse affects I should be aware of? (I
welcome feedback telling me this is stupid/wrong provided it contains
constructive criticism.)


Received on 2008-01-31 15:25:00 CET

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.