I want to get the log's from a svn repository. Now, I'm capable of doing this in two ways, make a local repository and get the svn logs from there. Or, number 2, get it from the DAV/HTTP served svn repository.
Is there a way to get the svn logs directly from the repository folder? (The one with conf,db,gooks,etc in it?). If I do
svn log <repodir>
I get the error 'svn: '/var/repositories/test' is not a working copy'. With
svnlook log
I get just a empty line as a return.
Thanks.
The working copy will be located in a directory called trunk on your computer relative to the directory you issued the command in. If you wish to have a different name for your working copy you can add that as a parameter to the end of the command. e.g. This will create a working copy called MyProjectSource .
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.
A Subversion working copy is your own private working area, which looks like any other ordinary directory on your system. It contains a COPY of those files which you will have been editing on the website.
By default going to be in /var/log/httpd .
You have to use the file://
protocol, so the parameter gets parsed as URL (repositories can only talked to with an URL):
svn log file:///path/to/your/repo
Is there a way to get the svn logs directly from the repository folder?
Use file:/// protocol
svn log file:///D:/Repositories/Hello
there D:/Repositories/Hello is full path to repo with slashes in path instead Win-backslashes
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