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

Re: old branch information get lost, how can I get them

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 13 Jul 2010 20:02:04 -0400

On Tue, Jul 13, 2010 at 19:55, asmwarrior <asmwarrior_at_gmail.com> wrote:
>  I have a problem to view(track an old branch), here are the steps what we
> have done.
>
>  2009.04, we created a branch named "branches/codecompletion_refactoring"
> from trunk.
>  2009.10, we merged the "branches/codecompletion_refactoring" to trunk, then
> stop developing on the that branch.
>  2010.05, we would like to start developing on the branch again, so what we
> done is:
>         1,Removed branches/codecompletion_refactoring
>         2,Copied trunk to branches/codecompletion_refactoring.
>
>  After that, we are develop on the new "branches/codecompletion_refactoring"
> again.
>
>
> Problem:
>
> When I do a track to see the change log of the new
> "branches/codecompletion_refactoring", we can only get the information from
> 2010.05 to now, before that, I get all the information of "trunk" not the
> old branch.
>
> So, is there any way we can track the old branch?

You'll have to use a peg revision to see the old branch; it's
effectively frozen in time now.

When you delete an item and re-create it with the same name, the new
one is a different entity in the repository database - there is no
connection between the old & new.

Assuming you didn't svn merge --reintegrate, you could have merged
from trunk to branches/codecompletion_refactoring to get the branch
back in sync with the trunk. You could still do this by:

1) Delete the new branches/codecompletion_refactoring
2) Resurrect the old one with a reverse merge
3) Merge trunk to branches/codecompletion_refactoring & continue development.
Received on 2010-07-14 02:04:06 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.