Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search SVN repository for a file when I'm not sure where I put it?

Co-worker is sure he checked in a file: foo_oustanding.dpr but isn't sure when/where (we have lots of "tools" and "utility" ancillary branches, lots of project branches, etc..
I need a way to search the entire repository for this file. I could check the whole source tree out to my HD, but that would take several hours. Is there a faster way? I tried the Repo Browser (Tortoise) and it didn't seem to have a search. I also thought about dumping the log, from the beginning of time. But that seemed silly.

I have, at my disposal:

  • Tortoise SVN 1.6
  • Subversion 1.5.6 running on Apache It runs on a Windows 2003 server.
  • Remote Desktop access to the server, with admin rights.
like image 415
Chris Thornton Avatar asked Apr 05 '10 13:04

Chris Thornton


People also ask

How do I search for a file in SVN?

If your's remote repository is not huge, then an easy method is: You can do a "checkout" to get a local repository. If you are in windows machine you use "Search" or Linux machine use "Find" command.

How do I find my SVN repository path?

http:// or https:// This is svn over http or https. You need to find the virtual host in your apache configuration and look for a <Location> section that matches your url path and look for a SVNPath or SVNParentPath config line. This will tell you the location of your subversion repository.


1 Answers

To see a list of all the files, send grep to text file in Command Prompt:

svn list -R myurl >> results.txt  
like image 150
live-love Avatar answered Oct 12 '22 16:10

live-love