krips89
krips89

Reputation: 1743

Getting a read-only copy of an svn repository

I found an interesting opensource library in the internet which I want to download. The instruction in their website is:

You can download the source code from our subversion repository, at: https://svn.oursvnurl

I can click on the link above and browse the code in the web browser. I then tried to check out the repo and get the following:

svn co https://svn.oursvnurl
Authentication realm: <https://svn.oursvnurl:443> SVN at blah lab
Password for 'sarkar':

Which I obviously don't have. Then I tried to switch to http and find:

svn co http://svn.oursvnurl
svn: E175011: Unable to connect to a repository at URL 'http://ssvn.oursvnurl'
svn: E175011: Repository moved temporarily to 'https://svn.oursvnurl'; please relocate

Is there anyway to get the repo? I don't want to commit; just a readonly copy will be fine for me.

Upvotes: 2

Views: 2493

Answers (1)

krips89
krips89

Reputation: 1743

There is something called svn export for getting the repo without having any intend to contribute to the original copy (which is more or less read-only version of svn checkout). I successfully downloaded the svn repo by:

svn export https://svn.oursvnurl

Upvotes: 3

Related Questions