I use a Subversion repository which sits on a Samba share in our LAN. Most of the times I used it from Windows machines where I simply assigned a drive letter (N:) to the filesystem of the network share (//TERASTATION2/share) hosting the repository. A SVN checkout including URL looked like this:
- svn co file://N:/_repos/projectname/trunk .
Now I have my new Ubuntu/Linux notebook and asked myself how I could use the repository from there too. I tried using smb://terastation2/share/_repos/myproject/trunk – but this did not work in combination with file://.
The solution looks like this:
- Create a dir to mount the share to: $ sudo mkdir /mnt/terastation2;
- Mount the filesystem: $ sudo smbmount //TERASTATION2/share /mnt/terastation2 -o lfs;
(You can create a launcher to do that for you in the future)
- Then you can do your desired operations: $ svn co file:///mnt/terastation2/_repos/projectname/trunk .;