SVN Juggling

SVN Juggling

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

SVN Juggling

Post by AF »

Im working on AFLobby and I dont intend to do a public commit until Im ready to show people what Ive done. But until that time Id still like the security of a versioning system, and I can set my own svn up.

But that involves having one piece of work in two reposiories, and I dont want to have 2 copies and have to deal with copying it all to the spring svn folder without copying the .svn files and then adding and deleting all the files that were added/deleted in the other svn folder.

So is there any easier solution?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: SVN Juggling

Post by Peet »

Are private branches possible using SVN? That way you could work on the current svn server and merge when you're ready for it to be public?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: SVN Juggling

Post by AF »

the branches folder in the root folder of a repository is purely convention, and is basically the same as trunk or tags, and since access privileges apply to the whole repository and not individual sections, I doubt it is possible.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: SVN Juggling

Post by det »

SVN relies on the central server to work. Your local copy is little more than a cache. What you need is a Distributed RCS. There are tools for Mercuial (hgsvn) and Git (git-svn) that can will let you interact with the a central SVN server while still making local commits.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: SVN Juggling

Post by imbaczek »

svn doesn't support such workflow. what you want is a DVCS. git will do you fine, as there is an svn mirror set up already.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: SVN Juggling

Post by AF »

Git is not an option. I'm under vista and MSYS has a horrendous bug that causes 200 empty msys windows to appear then they start closing themselves and the process ends. Its totally unusable.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: SVN Juggling

Post by imbaczek »

ouch. no good solution for you then, I'm afraid. you could try svk.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: SVN Juggling

Post by malric »

AF wrote:the branches folder in the root folder of a repository is purely convention, and is basically the same as trunk or tags, and since access privileges apply to the whole repository and not individual sections, I doubt it is possible.
Access priveleges can apply to individual folders in SVN also. Of course it depends on the exact SVN configuration (apache or svnserve etc). So a private branch is a solution.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: SVN Juggling

Post by det »

You can use mercurial. It has good windows support which includes either the base distribution for command-line support or TortoiseHG for windows explorer integration.
Post Reply

Return to “Engine”