Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting specific revision via http with VisualSVN Server

I'm using VisualSVN Server to host an SVN repo, and for some automation work, I'd like to be able to get specific versions via the http[s] layer.

I can get the HEAD version simply via an http[s] request to the server (httpd?) - but is there any ability to specify the revision, perhaps as a query-string? I can't seem to find it...

I don't want to do a checkout unless I can help it, as there are a lot of files in the specific folder, and I don't want them all - just one or two.

like image 916
Marc Gravell Avatar asked Oct 01 '08 13:10

Marc Gravell


People also ask

What is VisualSVN Server used for?

VisualSVN Server is a freeware Apache Subversion server package for Windows. The package is designed and implemented to provide Subversion version control as a first class citizen application in an Active Directory environment.

What port does VisualSVN Server use?

Server port This setting allows you to configure VisualSVN Server to use a specific TCP port. By default the server uses port 443 for HTTPS and port 80 for HTTP. If the default ports are occupied by other applications, it is suggested to use the 8443 and 8080 ports instead.

How do I access VisualSVN Server?

Start the VisualSVN Server Manager console. Click Action | Properties. Click the Logging tab. Select Access logging and Operational logging.


2 Answers

Better late than never; https://entire/Path/To/Folder/file/?p=REV

?p=Rev specifies the revision

like image 64
chhenni Avatar answered Oct 18 '22 03:10

chhenni


Dunno if you've already found the answer to this question but in regular svn server on apache you can get to a particular revision with:

http://host/svn-name/!svn/bc/REVISION_NUMBER/path/to/file.ext 
  • host & REVISION_NUMBER are obvious
  • /path/to/file.ext is relative to repo root

I've never used visualsvn so your mileage may vary.

like image 22
grenade Avatar answered Oct 18 '22 04:10

grenade