From owner-freebsd-questions@FreeBSD.ORG Wed Jan 16 20:24:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92784BE3 for ; Wed, 16 Jan 2013 20:24:12 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6C074AD5 for ; Wed, 16 Jan 2013 20:24:12 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1TvZWk-00090u-SZ; Wed, 16 Jan 2013 15:24:05 -0500 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id D66681954BA1; Wed, 16 Jan 2013 15:24:00 -0500 (EST) Message-ID: <50F70C60.4000108@FreeBSD.org> Date: Wed, 16 Jan 2013 15:24:00 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Peter Vereshagin References: <20130116185832.GB8524@external.screwed.box> <50F6FD37.5060309@gmail.com> <20130116193534.GC8524@external.screwed.box> <50F704CE.3010904@gmail.com> <20130116200754.GD8524@external.screwed.box> In-Reply-To: <20130116200754.GD8524@external.screwed.box> X-Enigmail-Version: 1.5 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: svn bdb checkout? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 20:24:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1/16/13 3:07 PM, Peter Vereshagin wrote: > Hello. > > 2013/01/16 13:51:42 -0600 "Joseph A. Nagy, Jr" > => To Peter Vereshagin : JANJ> On 01/16/13 > 13:35, Peter Vereshagin wrote: JANJ> > 2013/01/16 13:19:19 -0600 > "Joseph A. Nagy, Jr" => To Peter > Vereshagin : JANJ> > JANJ> On 01/16/13 12:58, Peter Vereshagin > wrote: JANJ> > JANJ> > Hello. JANJ> > JANJ> > JANJ> > JANJ> > By > far the 'portsnap' has a lag from svn. I think firefox-18.0,1 > update was JANJ> > JANJ> > late at 4 days at the least, for > instance. JANJ> > JANJ> > JANJ> > JANJ> > Thus I'd like to move to > svn for base and ports. JANJ> > JANJ> JANJ> > JANJ> JANJ> > > JANJ> Have you read the handbook? JANJ> > JANJ> JANJ> > JANJ> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html > > > JANJ> > > JANJ> > & ... JANJ> > JANJ> > ? JANJ> > JANJ> > | grep -i bdb | wc > -l JANJ> > JANJ> > 0 JANJ> > JANJ> > Over again: How could I 'svn > checkout' the sources without those '.svn' JANJ> > subdirectories > in the each and every repo's subdirectories? JANJ> > JANJ> > Thank > you. JANJ> JANJ> As far as I know, you don't. It is part of how > svn works. Those folders JANJ> tell svn that they are controlled > by svn. > > This is for the case of the svn's 'fsfs' backend. > > There is the different backend, the 'bdb' one that keeps data not > in the '.svn' subdirectories but in the 'bdb' format and it's the > repository(-ies) -wide single database with its single file system > location. The fsfs and bdb backends refer only to the server side of the Subversion repository. Each one represents a different way of storing the repository data on the server side and doesn't have any bearing on the .svn directory inside of a client-side working copy. Also note that in earlier versions of the Subversion client, .svn directories were created at all levels of the working copy. Since 1.7, there is one .svn directory per working copy, but that doesn't have anything to do with the backend repository format. > > JANJ> Deleting the .svn folder removes subversion control of that > folder[0].. JANJ> You can learn more, it seems, here[1]. > > No, I do not want to delete the '.svn' directories but I want them > to not to be created at all, like it was created with 'svnadmin > create --fs-type bdb' but as a resuit of a checkout. Reiterating - bdb (or fsfs) on the server side has nothing to do with the presence or absence of the .svn directory in a working copy on the client side. > > There was someone here arguing about 'fossil' that (s)he updates > from the freebsd repositories into the 'bdb'- backend'ed svn > repo, I'd like to know a way to 'svn checkout' like this at first. > > Thank you. Please see my message from a similar thread a few months ago for a possible solution: http://permalink.gmane.org/gmane.os.freebsd.questions/294398 In short, "svn export" is the way to pull source code out of a Subversion repository with the .svn directory. However, that command cannot be used repeatedly to update the same directory tree, but the svn-export wrapper script mentioned in the thread above aims to do that. I still have not researched that tool to see if it works as advertised or not. If anyone wants to create a port for svn-export and send it my way for review, I would be happy to do that. Otherwise, I expect to have a look myself within the next few months. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlD3DGAACgkQ0sRouByUApD7/ACeIZodWqsQS+vU2zU4WY/eTOTS l1wAn14kbyP3feudZvG3bt7d8pbJrSd0 =BDjD -----END PGP SIGNATURE-----