English 中文(简体)
How do I check out a subversion repository from a network share?
原标题:

I have a Subversion repository on my laptop in my room (windows Vista), but I want to check it out to a computer upstairs (Ubuntu Linux). I put the repository on a network share but I m not sure how I can check it out to ubuntu.

Note that I don t have subversion server set up on my laptop, I m just trying todo a checkout from a network directory as if it were local to this computer. What are my options?

最佳回答

Do not access a repository directly on a network share! Even though you might get it to work, you eventually will end up with a completely corrupted repository.

Just set up a server (svnserve or apache) and access it that way. It s easy to set such a server up. And those five minutes you spend setting it up will keep your data safe.

问题回答

UPDATE: Please read Stefan s warning before using file:/// against a network share.

It may not apply in your specific situation but it is a good general principle.


You can t do a checkout against a smb:// share as such; but you can mount the windows share with smbmount i.e.

mkdir /mnt/svnserver
sudo smbmount //VISTALAPTOP/subversion /mnt/svnserver -o lfs;

after that you can use it as if it were a normal file:/// repo, located under /mnt/svnserver

If you can switch your computers roles (the Subversion repository on your Ubuntu box), the installation is done in 10 minutes (see the instructions)

The installation is so easy it s a no-brainer. Really





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签