From users-return-28787-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Thu Jul 23 09:59:24 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 9EF39180642 for ; Thu, 23 Jul 2020 11:59:24 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 45BFC1248B2 for ; Thu, 23 Jul 2020 09:59:01 +0000 (UTC) Received: (qmail 16527 invoked by uid 500); 23 Jul 2020 09:58:59 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 16511 invoked by uid 99); 23 Jul 2020 09:58:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2020 09:58:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 54EFF181433 for ; Thu, 23 Jul 2020 09:58:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.014 X-Spam-Level: * X-Spam-Status: No, score=1.014 tagged_above=-999 required=6.31 tests=[KAM_DMARC_STATUS=0.01, KAM_LAZY_DOMAIN_SECURITY=1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XIxfpHi01Aql for ; Thu, 23 Jul 2020 09:58:57 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=78.47.87.163; helo=mx0.elegosoft.com; envelope-from=stsp@elego.de; receiver= Received: from mx0.elegosoft.com (mx0.elegosoft.com [78.47.87.163]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTP id 9F3247F685 for ; Thu, 23 Jul 2020 09:58:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx0.elegosoft.com (Postfix) with ESMTP id 7CFAEDE0FD; Thu, 23 Jul 2020 11:58:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at elegosoft.com Received: from mx0.elegosoft.com ([127.0.0.1]) by localhost (mx0.elegosoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CyGAoEPLQFbY; Thu, 23 Jul 2020 11:58:51 +0200 (CEST) Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by mx0.elegosoft.com (Postfix) with ESMTPSA id 6B804DE0FC; Thu, 23 Jul 2020 11:58:51 +0200 (CEST) Received: from localhost (ted.stsp.name [local]) by ted.stsp.name (OpenSMTPD) with ESMTPA id dd79f106; Thu, 23 Jul 2020 11:58:50 +0200 (CEST) Date: Thu, 23 Jul 2020 11:58:50 +0200 From: Stefan Sperling To: Kenneth Porter , Subversion Subject: Re: Searching entire repository for a file (fastsvncrawler) Message-ID: <20200723095850.GF94016@ted.stsp.name> Mail-Followup-To: Kenneth Porter , Subversion References: <20200723095452.GE94016@ted.stsp.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200723095452.GE94016@ted.stsp.name> On Thu, Jul 23, 2020 at 11:54:52AM +0200, Stefan Sperling wrote: > On Wed, Jul 22, 2020 at 03:36:36PM -0700, Kenneth Porter wrote: > > I need to locate a file in a client's large repository. I found > > fastsvncrawler which uses svn_ra_do_status2 to rapidly dump the entire > > repository as a directory listing. Has anyone built a Windows binary? Or > > perhaps it's made it into the distribution? (I access the repo over a Cisco > > VPN from Windows, or I'd just build it on Linux. I fear I'll have to learn > > how to build Subversion on Windows, which looks daunting.) > > > > > > > > How it works: > > > > > > > > Are you aware of the built-in svn list --search feature, which has > been available since SVN 1.10.0? > > For example: > > $ svn list --depth=infinity --search svn.c ^/subversion/trunk > subversion/svn/svn.c > $ I forgot to mention that that this feature supports pattern matching, and that the pattern argument may need quoting. From 'svn help list': --search ARG : use ARG as search pattern (glob syntax, case- and accent-insensitive, may require quotation marks to prevent shell expansion) > Also as of SVN 1.10 the server supports a special-purpose 'list' request > to speed this up. > > In any case, the fastest way to search will likely be with a file:// URL, > assuming you can get direct access to the repository for this purpose. > > Regards, > Stefan