From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 23:31:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8D21106564A for ; Sun, 18 Apr 2010 23:31:29 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 9699A8FC1B for ; Sun, 18 Apr 2010 23:31:29 +0000 (UTC) Received: (qmail 2889 invoked by uid 0); 18 Apr 2010 23:31:29 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 18 Apr 2010 23:31:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=NOw73TUizGLapIuLbZejzhx8VsmCq7/kuRPjtjYtoHmcMgPA3nYqiusVaX/0L8PisPuM1u0umWGXfnIpOFhJ7xjhatnIKqDxansb/HdCBCRpr5Ki7SDCmm/KoSC+ke4L; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1O3dxX-000293-In for freebsd-questions@freebsd.org; Sun, 18 Apr 2010 17:31:28 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sun, 18 Apr 2010 16:30:16 -0600 Date: Sun, 18 Apr 2010 16:30:15 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100418223015.GA82047@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100418010523.M58298@brightstar.bomgardner.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: version/revision control software for things mostly not source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2010 23:31:30 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 18, 2010 at 11:34:19PM +0300, Dan Naumov wrote: >=20 > I've looked at SVN and it looks reasonably easy to grok, but reading > the "Version Control with Subversion" book... it seems there is no > actual way to truly erase/delete/destoy/purge a part of an existing > repository? This sounds rather weird and annoying. What if I decide > that project XYZ is beyond redemption and abandon it, I delete the > working copy of it, but all history is still in there, gigabytes upon > gigabytes of data. With no way to remove it, it sounds like a really > big limitation. The idea is that a VCS maintains a record of past revisions of the files in version control. Thus, even if you delete/destroy an entire subproject, it can later be recovered if necessary. VCSes are designed with the idea that each project gets its own version control repository. If you want to delete a project, then, you delete the repo for that particular project, and free up any space. If you maintain a huge filesystem containing lots of separate "projects", on the other hand, you're essentially treating all of that filesystem as part of the same super-project, from the point of view of the VCS. Thus, there's nothing odd about the difficulty of clearing out part of what's stored in the repository. In fact, for purposes of recovering things you suddenly realize you shouldn't have deleted, this is a feature rather than a bug. As others have already noted, though, there are work-arounds that allow you to effectively delete something not just from the current working version, but from the whole repo. I won't repeat them here. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvLh/YACgkQ9mn/Pj01uKW0pwCbBWRamiAE1of9dBG4n6oNjutg rBIAoKs/3im8/FNtUKNaYHuyZLdegImx =ZdbG -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--