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

Re: Why is there no "find" command in Subversion ?

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 23 Sep 2009 14:47:52 -0400

svn ls -R http://subversion/url | grep "$find_this_file"

If the file has been deleted, you'll have to search the logs:

svn log -v -rHEAD:1 http://subversion/url | grep "$find_this_file"

I use the "less" command instead of grep because it allows me to go back and
forth through the output. I can quickly find the file, then go back up and
see who removed it and why.

This sounds slow, but it's actually pretty quick.

On Wed, Sep 23, 2009 at 1:59 PM, Phil Pinkerton <pcpinkerton_at_gmail.com>wrote:

> It would be really helpful to have a "find" command in Subversion for
> locating files or directories.
>
> Is it just to difficult to develop ?
>
> Anyone else think it would be useful ?
>
> How do others search large complex repositories for files ?
>
> thanks
>
> Phil
>
>
>
> --
> " The fundamental principle here is that the justification for a physical
> concept lies exclusively in its clear and unambiguous relation to the facts
> that it can be experienced" AE
>
> Please Feed and Educate the Children... it's the least any of us can do.
>
>

-- 
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2399026
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-23 20:48:49 CEST

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

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