[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retrieving dead files from the Attic

From: S I
Subject: Re: Retrieving dead files from the Attic
Date: Wed, 25 May 2005 12:48:17 -0700

Here's another question I have on the same topic:

If a file is removed from CVS properly (by rm, cvs rm, cvs ci), what gets committed to the Attic exactly? Both the file and its sister comapnion file,v or just the latter? I've noticed that I only get to see the latter version under all my Attic subfolders, if this is the case then I'm good but the original file needs to be visible in the Attic too along with its file,v, then our developers have not been properly deleting or removing files from cvs and we're in trouble.

I still have not managed to retrieve my lost files from the Attic, executing the 3 commands I listed. They simply don't work and retrieve new files with zero or empty cotent. Help!


----Original Message Follows----
From: "S I" <address@hidden>
To: address@hidden
CC: address@hidden
Subject: Re: Retrieving dead files from the Attic
Date: Wed, 25 May 2005 11:38:24 -0700
MIME-Version: 1.0
X-Originating-IP: []
X-Originating-Email: address@hidden
X-Sender: address@hidden
Received: from ([]) by with Microsoft SMTPSVC(6.0.3790.211); Wed, 25 May 2005 11:44:17 -0700 Received: from localhost ([] with esmtp (Exim 4.43)id 1Db0tf-0003kq-DGfor address@hidden; Wed, 25 May 2005 14:46:27 -0400 Received: from mailman by with tmda-scanned (Exim 4.43)id 1Db0su-0003ik-Nefor address@hidden; Wed, 25 May 2005 14:45:42 -0400 Received: from exim by with spam-scanned (Exim 4.43)id 1Db0ss-0003hb-5cfor address@hidden; Wed, 25 May 2005 14:45:38 -0400 Received: from [] ( with esmtp (Exim 4.43) id 1Db0sr-0003go-Jgfor address@hidden; Wed, 25 May 2005 14:45:37 -0400 Received: from [] ( with esmtp (Exim 4.34) id 1Db0mL-00038F-3Ffor address@hidden; Wed, 25 May 2005 14:38:53 -0400 Received: from mail pickup service by with Microsoft SMTPSVC;Wed, 25 May 2005 11:38:24 -0700 Received: from by with HTTP;Wed, 25 May 2005 18:38:24 GMT
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
X-OriginalArrivalTime: 25 May 2005 18:38:24.0275 (UTC)FILETIME=[EEE24630:01C56158]
X-BeenThere: address@hidden
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Announcements and discussions for the CVS version control system<> List-Unsubscribe: <>,<mailto:address@hidden>
List-Archive: <>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <>,<mailto:address@hidden>
Errors-To: address@hidden
Return-Path: address@hidden

No, it was committed to the Attic in the subfolder where the file was deleted. I'm now on the repository and see this file in the Attic. However, I'm not sure whether to retrieve from the server side or my desktop/client side? The 3 steps I posted seem to be done from the client side? Am I on the right track? Thanks.

----Original Message Follows----
From: Russ Sherk <address@hidden>
Reply-To: Russ Sherk <address@hidden>
To: S I <address@hidden>
CC: address@hidden
Subject: Re: Retrieving dead files from the Attic
Date: Wed, 25 May 2005 13:04:35 -0400
MIME-Version: 1.0
Received: from ([]) by with Microsoft SMTPSVC(6.0.3790.211); Wed, 25 May 2005 10:04:37 -0700 Received: by with SMTP id 71so559239wra for <address@hidden>; Wed, 25 May 2005 10:04:35 -0700 (PDT) Received: by with SMTP id k8mr457405wrk; Wed, 25 May 2005 10:04:35 -0700 (PDT)
Received: by with HTTP; Wed, 25 May 2005 10:04:35 -0700 (PDT)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I5ZeHMM9PAhL7E7HwXpKU5oR/7ooUgzJAzW5dLwUYy9Hbb5+fkq6zb8n9Knw1JfNFThrUjPxexTE9G4Z+fBKiguyWQH3HxZvnU+dqAChGp1tReThEY48Xw54dnOpGepZCobK/ly5buxzosmJZ2lowvEtrhPqopTf+6dy4QJKK2c= References: <address@hidden> <address@hidden>
Return-Path: address@hidden
X-OriginalArrivalTime: 25 May 2005 17:04:37.0431 (UTC) FILETIME=[D5060470:01C5614B]

Did you commit the file to the Attic? i.e. cvs ci myRepoPath/Attic/myFile.txt
Or did you commit to a branch but not to main trunk (or vice-a-versa)?

If the second is the case, then you can just merge the file from the
branch to the main trunk:
cvs co myRepoPath/
cvs up -j branch_name myRepoPath/myFile.txt

(Note the lack of Attic in the path)


On 5/25/05, S I <address@hidden> wrote:
> We're running the cvs Repo on a linux box with no shell access to users
> who're on the WinXP client side, except myself as the Admin.
> A user accidentally committed files to the Attic and we need to retrieve
> them. I've committed files to the attic many times before but we never had > the need to retrieve. I myself access the Repo via WinXP Dos prompt, as a > client too to do my work and never login to shell except to create new users
> or do maintenance, etc.
> Can I retrieve the dead files from winxp client side by being in my working
> copy's specific folder where the file was deleted, like so:
> cvs –Q update -p -r (revision) foo.jpg > foo.jpg
> cvs add –kb foo.jpg (only if binary)
> cvs ci -m "Resurrecting the Dead!" foo.jpg
> If this has to be done on the unix side, do I have create a working copy in
> my $home$ folder?  I need specifics please.  Your help is very much
> appreciated.  Thank you.
> Steven
> _______________________________________________
> Info-cvs mailing list
> address@hidden

Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]