I'd like to make a private branch of a public svn repository.
By this, I mean that there's a public, open source (codeplex) repository that I need to make my own, custom changes to. These changes wouldn't be accepted back into the tree. I want to:
I understand that git can do this, but I can't figure out how to do it with SVN.
If not possible, how do I do some aspect of the above -- something like taking the code completely over within my repository and keeping a "clean" copy of the official tree where I can easily diff the two trees?
Thanks, James
You might as well want to merge every new commit on the public branch to your private branch. This situation happens mostly when you are creating a public repository but also want to use it for your private project. Sadly, GitHub did not allow a private branch on a public repository.
Next use svn switch svn+ssh://host.example.com/repos/project/branches/NAME_OF_BRANCH . (if you want to switch current checkout to new branch) or svn checkout svn+ssh://host.example.com/repos/project/branches/NAME_OF_BRANCH (if you want to have new branch in seperate directory) to start working on newly created branch.
The best solution for this problem is the one described in Version Control with Subversion in the section vendor branches. Use the SVN export command to dump a snapshot of the external SVN hosted project to your local SVN workspace as a vendor drop.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With