Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browsing an SVN Repository

Tags:

svn

I'm trying to browse an SVN repository without having to check it out:

  • Is it possible to do this locally (on Unix)?
  • Is this possible with ssh access?
like image 558
Casebash Avatar asked Oct 08 '09 01:10

Casebash


People also ask

How do I view svn files?

To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.

How do I find my svn repository URL?

- Download and install TortoiseSVN on your machine. - Click right on a2 and select SVN checkout. In the window that pops up, select the URL https://svn.cs.dal.ca/eem/csci3151/a2 and checkout directory C:\.... \a2 and OK.


2 Answers

svn ls works. e.g.

svn ls http://my.svnserver.com/trunk/foo 

Try this on the command line:

svn ls http://svn.apache.org/repos/asf/spamassassin/trunk 
like image 114
Mark Bolusmjak Avatar answered Sep 20 '22 17:09

Mark Bolusmjak


Use svnlook

a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repository—it's just used for “peeking”. svnlook is typically used by the repository hooks, but a repository administrator might find it useful for diagnostic purposes.

Since svnlook works via direct repository access (and thus can only be used on the machine that holds the repository), it refers to the repository with a path, not a URL.

If no revision or transaction is specified, svnlook defaults to the youngest (most recent) revision of the repository...

like image 39
Andrew Keith Avatar answered Sep 22 '22 17:09

Andrew Keith