views:

46

answers:

1

Dupe of http://stackoverflow.com/questions/1048356/is-there-a-command-which-will-print-the-path-of-the-file-in-the-repo-browser-in-t

Is there a command which will print the path of the file in the repo-browser in the command line?

SVN diff only prints the file name.

Thank you.

A: 

You can use svn info <file> to get details about the file. This includes the URL, which in case of a file includes its path in the repository. If you need only the path without the repository root you get the repository root in the output too so can easily filter it.

bluebrother