RGB
RGB

Reputation: 97

Subversion - find file in repo

How can I get the path of one file in a SVN repo?

Suppose I want to find a file named "LoginInterceptor.c" with its complete path in one SVN repository; which command would I use?

Upvotes: 2

Views: 353

Answers (3)

zellus
zellus

Reputation: 9592

In case you're looking for a file that possibly has already been deleted use:

$ svn log -v http://myrepos | grep LoginInterceptor.c

Upvotes: 1

user9876
user9876

Reputation: 11102

If you have set up ViewVC with the "commit database" feature, you can use ViewVC's search form.

Upvotes: 0

Aif
Aif

Reputation: 11220

You can use svn ls *path_to_repository* (I've just tested with a url ala http://) and grep the output.

$ svn ls -R http://myrepos | grep -i logininterceptor.c

Upvotes: 4

Related Questions