mist
mist

Reputation: 1853

Slow remote SVN. Fix?

I'm working with a very remote SVN that is pretty slow. My internet connection is good but the distance plays its part. It's not that slow, I can work. But it pisses me off when every diff takes a second or two.

Is there a way to create a proxy SVN locally that constantly downloads the remote one?

Should I use local git or mercurial? They can bind to a SVN and can clone it.

I need something that doesn't need much effort.

Upvotes: 2

Views: 876

Answers (3)

the_mandrill
the_mandrill

Reputation: 30832

You can create a local SVN mirror that stays in sync with the main repository, but create it as a write-through proxy, which means that when you try to commit the change actually gets forwarded to the master server then your server gets a copy of the change.

More info here: Mirror SVN Repository [Write-through proxying]

Upvotes: 2

thiton
thiton

Reputation: 36049

I don't think that a proxy SVN server has been done, since this would basically mean that a distributed version control system would have to be implemented, which is outside SVN's scope. git or mercurial are your best choices, since they support these features out of the box.

Upvotes: 0

Matteo
Matteo

Reputation: 14930

As far as I remember Subversion keeps the original (checked out/updated) file locally and performs the diffs locally. An svn diff does not involve network. A proxy would be difficult but you think to mirror the repository locally.

Upvotes: 1

Related Questions