Essentially, I'm looking at a folder that can act as both a repository, and also syncable to another repository. I understand I can overcome this by checking out into 2 folders. But I'm facing space constraint, so can I have a folder structure with more than 1 SVN config?
Thanks!
Use Case Request: Have 2 computers syncing to a folder. However both computers are not connected to network开发者_如何学Python, and are connectable by a thumb drive. How can I sync the folders from the 2 computers?
My idea is to have a repository in the thumb drive, and sync to it. However, the computers can ALSO can connectable to the Internet, in this case, we do not need the thumb drive, and I do not want it to be a dependency, so making 1 of those 2 computers a repository is a method. So in essence, on of the computers, 1 folder is possibly both syncing to another repository, and a repo itself. Is this clear?
I'm not very clear by your explanation, either you have a folder that can be synch to 2 different repository or you want your folder also acting as repository for other while actually a working copy of svn?
Anyway, for the first case you might be able to use svn switch --relocate
command to change which repository your working copy connecting to. This only work if your repository is actually the same but on different location. See the manual for details.
The other possibility that you might want to look at is distributed version control system like git or mercurial. With these tools you can have multiple independent repository which can pull/push changes from each other.
精彩评论