From owner-freebsd-questions@FreeBSD.ORG Tue Feb 19 01:13:20 2013 Return-Path: Delivered-To: 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 E2B8FEEA for ; Tue, 19 Feb 2013 01:13:20 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (unknown [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 787C716B for ; Tue, 19 Feb 2013 01:13:20 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail07.adl2.internode.on.net with ESMTP; 19 Feb 2013 11:43:05 +1030 Message-ID: <5122D19F.2040804@ShaneWare.Biz> Date: Tue, 19 Feb 2013 11:43:03 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Christopher Sean Hilton Subject: Re: Using svn to checkout a deprecated port. References: <20130218192335.GA7566@naboo.example.com> In-Reply-To: <20130218192335.GA7566@naboo.example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 01:13:20 -0000 On 19/02/2013 05:53, Christopher Sean Hilton wrote: > Hi, > > I need to use svn to checkout the old "security/cfs" port so I can > do a one-time transfer of some data off of a USB drive. At the end of > the day, I just need the one port so if the cvs repository is > available I could also get it that way. In either case, I'm trying to > do the equivalent of: > > $ cvs co -r '2011/10/01' $FreeBSDportsRepo security/cvs > > in English, I want to checkout security/cvs from ports as it existed > on October 1st, 2011 (the port was deprecated on November 1st 2011. > It appears that checking out a deleted path doesn't work even if you specify a rev that it exists in. But checking out the parent works. I'd check it out to another dir then copy the specific files over. svn co -r 282000 svn://svn.freebsd.org/ports/head/security/ You can change the svn.freebsd.org to svn0.us-east.FreeBSD.org or svn0.us-west.FreeBSD.org For reference I went to http://svnweb.freebsd.org/ports and clicked the revision number at the top (above the sticky revision box) then tried jumping to a few different rev numbers till I got close to a commit date just before 2011/10/01. Once you have the rev you want you can go back up to ports (link at top of page) and enter a sticky revision. Then you can go to security/cfs and view the files.