You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mage <ma...@mage.hu> on 2005/04/11 14:31:30 UTC
branching
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?
Mage
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: branching
Posted by Mage <ma...@mage.hu>.
Andrew Thompson wrote:
>
> 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?
>
Thank you.
I could not reproduce it so far, but if it happens next time, I will do
my best.
Mage
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: branching
Posted by Andrew Thompson <su...@aktzero.com>.
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