From users-return-28786-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Thu Jul 23 09:55:20 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 BD4C2180642 for ; Thu, 23 Jul 2020 11:55:20 +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 60AB61256E3 for ; Thu, 23 Jul 2020 09:55:14 +0000 (UTC) Received: (qmail 12268 invoked by uid 500); 23 Jul 2020 09:55:11 -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 12257 invoked by uid 99); 23 Jul 2020 09:55:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2020 09:55:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3D4A4C06C1 for ; Thu, 23 Jul 2020 09:55:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mSOeZusH3EzA for ; Thu, 23 Jul 2020 09:55:06 +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 C25E97F732 for ; Thu, 23 Jul 2020 09:55:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx0.elegosoft.com (Postfix) with ESMTP id B5AA5DE0FD; Thu, 23 Jul 2020 11:54:59 +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 ohPyYcjDYNLR; Thu, 23 Jul 2020 11:54:54 +0200 (CEST) Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by mx0.elegosoft.com (Postfix) with ESMTPSA id 7051BDE0FC; Thu, 23 Jul 2020 11:54:54 +0200 (CEST) Received: from localhost (ted.stsp.name [local]) by ted.stsp.name (OpenSMTPD) with ESMTPA id a31d897d; Thu, 23 Jul 2020 11:54:52 +0200 (CEST) Date: Thu, 23 Jul 2020 11:54:52 +0200 From: Stefan Sperling To: Kenneth Porter Cc: Subversion Subject: Re: Searching entire repository for a file (fastsvncrawler) Message-ID: <20200723095452.GE94016@ted.stsp.name> Mail-Followup-To: Kenneth Porter , Subversion References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 $ 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