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

Re: branching

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-04-11 17:25:50 CEST

Mage wrote:
> Hello,
>
> We are working on a website. I have a checkout of my branch in
> /var/www/site, which is a copy of the main (trunk) version.
>
> Usually I do before a new project:
> svn rm svn+ssh://host/var/svn/repo/branch/mage
>
> then:
> svn cp svn+ssh://host/var/svn/repo/main
> svn+ssh://host/var/svn/repo/branch/mage
>
> Then I make svn up in /var/www/site folder.
>
> Usually this works. However, last time I got weird php errors. I could't
> debug it, because it was not my code and had no error handling.
>
> svn status said nothing, so I deleted the /var/www/site folder and
> checked out again. The problem was solved.
>
> I am not sure why. Is this above a correct branching technique?

I tested the scenario you presented and the files were updated correctly
when I did svn update, after deleting then copy'ing the folder.

Can you recreate the problem? Can you check out the revision of the site
before your rm of /branch/mage and repeat your rm and cp of /branch/mage
and see if it happens when you update again?

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 17:39:43 2005

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.