Subversion - find file in repo
How can I get the path of one file in a SVN repo?
Suppose 开发者_JS百科I want to find a file named "LoginInterceptor.c" with its complete path in one SVN repository; which command would I use?
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
In case you're looking for a file that possibly has already been deleted use:
$ svn log -v http://myrepos | grep LoginInterceptor.c
If you have set up ViewVC with the "commit database" feature, you can use ViewVC's search form.
精彩评论