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?
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.
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.
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.
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 ...
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With