Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN command line: svnlook history mypath, can't open file

Tags:

svn

svnlook

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.

like image 212
Ska Avatar asked Apr 05 '11 00:04

Ska


People also ask

How do I view svn file 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.

How do I find previous versions in svn?

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.

How do I find svn modified files?

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.

How do you find the difference between two svn revisions?

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.


1 Answers

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.

like image 161
sholsapp Avatar answered Oct 06 '22 00:10

sholsapp