Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I retrieve an SVN Log from a local copy?

Tags:

logging

svn

My organisation ran an SVN repository server for 2 years. This server died in November; we didn't loose any files thanks to the local copies, but we lost the history, which is obviously a shame.

I still have my local repository copies and I'd like to know whether I can regain the SVN Log from this local copy. Usually for running SVN log a server connection is required, so the question is, is it possible to get the log without server?

like image 759
Dahie Avatar asked Feb 27 '10 11:02

Dahie


People also ask

Where are svn logs stored?

If you are running SVN over Apache (HTTP or HTTPS), you will want to look at Apache's log. By default going to be in /var/log/httpd . The red book has some good information on it.

How do I view svn log history?

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.

Does svn have a local repository?

Use Project|Set Up Local Repository to set up a new local SVN repository and optionally svnserve to access this repository. To use this command you need to have a local installation of the Subversion command line binaries. You can download them from http://subversion.tigris.org.

What are svn logs?

Description. Shows log messages from the repository. If no arguments are supplied, svn log shows the log messages for all files and directories inside (and including) the current working directory of your working copy. You can refine the results by specifying a path, one or more revisions, or any combination of the two ...


2 Answers

Generally speaking, no: log entries are stored as so-called "Revision Properties" SVN on the server.

You can, however, try to extract log entries from caches of an SVN client you were using -- as far as I know, TortoiseSVN caches log entries somewhere. SmartSVN does that as well.

like image 192
Anton Gogolev Avatar answered Oct 24 '22 01:10

Anton Gogolev


The log is not stored in local copies : those only store the current copy you're working on (i.e. the last copy you checked out).

So, no, you cannot get the SVN log from a local extraction.

like image 42
Pascal MARTIN Avatar answered Oct 24 '22 00:10

Pascal MARTIN