I use this command to display the history of commits.
svnlook history -r 2 mypath
and I get this:
svnlook: Can't open file 'mypath/format': No such file or directory
I'm sure that "mypath" is correct. I also tried going into deeper directories. I tried with absolute and relative paths, I tried with the -r option and without but I always get the same result.
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 the revision log dialog Select the file or folder in which you need to revert the changes. If you want to revert all changes, this should be the top level folder. Select TortoiseSVN → Show Log to display a list of revisions.
To get an overview of your changes, use the svn status command. You may use svn status more than any other Subversion command. If you run svn status at the top of your working copy with no arguments, it detects all file and tree changes you've made.
Use just svn diff to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions. TARGET s may be all working copy paths or all URL s.
The svnlook
command is used on the server that is hosting the repository (i.e., it's not what you need).
You can use svn
to query the working copy for what data you're looking for. Refer to http://svnbook.red-bean.com/en/1.5/svn.tour.history.html and check out svn log
or svn diff
to get a history of the changes.
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