[TxMt] Tunnelling SVN

Matthew Law mailmattlaw at yahoo.co.uk
Thu Mar 22 17:51:51 UTC 2007


--- Rob McBroom <textmate at skurfer.com> wrote:

> On Mar 21, 2007, at 7:30 PM, Matthew Law wrote:
> I have tried to use Subversion with Samba as well.
> If I understand  
> your question correctly, it won't matter if you use
> svn://, svn 
> +ssh://, or http:// to interact with the repository.
> The problem  
> you're running into is a function of how the
> *working copy* is  
> accessed, not the repository. If the working copy is
> stored locally,  
> it generally works fine, but if the working copy is
> stored on a samba  
> filesystem, there are things that will break when
> after you commit  
> changes and svn tries to update the working copy.

That is exactly the scenario.  We can read and write
files fine over the network, but svn explodes.
 
> I think we have one project where we access the
> working copy via DAV  
> and subversion commands work (we still use svn+ssh
> to interact with  
> the repository itself) but DAV is so slow, it's
> almost unusable with  
> TextMate's project window.

I setup DAV today and it is even worse than working in
a samba share :-(

> If you're talking about modifying the Subversion
> bundle in TextMate  
> to always run `ssh remote_server svn blah files`
> instead of `svn blah  
> files`, you could probably do it, but then your
> Subversion bundle  
> would only ever be useful for that one repository.
> Something else you  
> might experiment with: There's a `TM_SVN` variable
> that TextMate uses  
> to locate Subversion and you can set variables per
> project. Perhaps  
> instead of using the usual `/usr/local/bin/svn`, you
> could set  
> `TM_SVN` for that project to something like this:
> 
>      ssh -t remote_server /usr/bin/svn
> 
> I would be very surprised if that worked smoothly,
> though.

It didn't, so I'm back to either setting up a
development environment on the designer's Macs or
making them learn and use the command line.  Then I've
got to make sure svn filters out all of the nasty
'._*' files that the finder leaves everywhere...

Thanks for your help,

Matt.


		
___________________________________________________________ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html



More information about the textmate mailing list