8

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.

Ska
  • 6,658
  • 14
  • 53
  • 74
  • Are you trying to execute this on a machine where the repository is physically located? – djdy Apr 05 '11 at 00:53
  • @djdy On my own PC where the working copy is. Is this a server command? If yes, how could I achieve the same from local terminal? – Ska Apr 05 '11 at 13:46
  • `svnlook` is a server command. You can use `svn` to retrieve whatever data you need from the working copy. – sholsapp Aug 04 '11 at 20:42

1 Answers1

11

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.

sholsapp
  • 15,542
  • 10
  • 50
  • 67