[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Feature Request: Search through repository?

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: 2006-10-13 08:41:50 CEST

Tomasz,

On 13/10/06, Tomasz Paj±k <spidertp@o2.pl> wrote:
>
> > I think he means to search for a filename only, not searching the
> > contents of all files. In which case someone's suggestion of grabbing
> > all the history and searching all that is a decent answer.
> > - Jody
>
> Thanks Jody. It's exactly what I mean. And filtering of a log is too....
> haard for them ;)

Are you looking for a file that is present in a specific known
revision (like HEAD), or do you want to search through the entire
history (and locate all path+revision numbers for certain files)?

If you only want a single revision searched, you can search through a
working copy that is updated to the relevant revision and/or branch.

> But I can see now that if I open log of a repository, Tortoise IS getting
> all filenames and other informations.
> So in a similar manner the "Search" function could be made...

The log only shows you files that got touched (added/changed/deleted).
You would have to retrieve the full log (from HEAD down to revision
1!) in order to be able to distill the complete historical topology of
the repository.

Having N revisions then presents you with N complete repository trees
to crawl through in search for filenames meeting a given search
pattern. This is a time consuming process even for modeately sized
repositories.

-- 
Regards,
Jean-Marc
----------------
    ___
   // \\  @@     "De Chelonian Mobile"
  / \_/ \/._)    TortoiseSVN
 <\_/_\_/ /      The coolest Interface to (Sub)Version Control
  /_/   \_\      Check out http://tortoisesvn.org
Received on Fri Oct 13 08:41:58 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.