Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I switch to a branch without checking out a new working copy?

0
Posted

How do I switch to a branch without checking out a new working copy?

0

In CVS, if you have a working copy for your project and are ready to begin work on a branch, you would pass the branch name as the revision to which you wished to update. Because Subversion treats tags and branches as regular paths in the repository, you can’t just svn update your working copy to the branch name in question. Enter the svn switch command. svn switch updates your working copy to mirror a new tree in the repository–say, a branch tree instead of the trunk tree. This is the Subversion way to move a working copy to a new branch. $ svn switch http://svn.red-bean.com/repos/branches/vendors-with-fix. U myproj/foo.txt U myproj/bar.txt U myproj/baz.c U myproj/qux.c Updated to revision 31.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123