Svn log - svn: '.' is not a working copy

Filipe Pinheiro picture Filipe Pinheiro · Apr 28, 2010 · Viewed 7k times · Source

I'm getting "svn: '.' is not a working copy" when i use the svn log command.

I know that i need a working copy for the log command to work but can this be done directly on a repository?

My goal is to display the information (change history) of a repository. I think updating the working copy whenever i need the log information is not a good solution.

Is there an alternative solution to this or updating a working copy every time i need to log is the only way to go?

Thanks in advance.

Answer

Matt Bridges picture Matt Bridges · Apr 28, 2010

Try svn log [repository_url]

That will get the log of a particular repository rather than the local, checked-out repository.

See this documentation.