Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j11G0JaL027656 for ; Tue, 1 Feb 2005 16:00:20 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 1433876F3F for ; Tue, 1 Feb 2005 16:00:56 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw0f9-0000hp-Qh for migo@homemail.com; Tue, 01 Feb 2005 11:13:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw0eb-0000fi-T2 for gnu-arch-users@gnu.org; Tue, 01 Feb 2005 11:13:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw0eZ-0000ec-4k for gnu-arch-users@gnu.org; Tue, 01 Feb 2005 11:13:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw0eZ-0000eJ-1K for gnu-arch-users@gnu.org; Tue, 01 Feb 2005 11:13:23 -0500 Received: from [128.255.17.47] (helo=server07.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw0PR-0006Q8-IL for gnu-arch-users@gnu.org; Tue, 01 Feb 2005 10:57:45 -0500 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.2/8.12.9) with ESMTP id j11Fvglo029416; (envelope-from ) Tue, 1 Feb 2005 09:57:43 -0600 (CST) Received: from [192.168.1.103] (65-100-23-112.cdrr.qwest.net [65.100.23.112]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j11FvZGH028207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Tue, 1 Feb 2005 09:57:40 -0600 (CST) Message-ID: <41FFA6EF.4080704@arbash-meinel.com> Date: Tue, 01 Feb 2005 09:57:35 -0600 From: John Arbash Meinel User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rjae Easton Subject: Re: [Gnu-arch-users] How to recover from interrupted commit... References: In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: ClamAV 0.80/682/Mon Jan 24 12:53:43 2005 clamav-milter version 0.80j on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 03:08:24 2005, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Status: Clean Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0162567817==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 4438 Lines: 149 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0162567817== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD7EB7A22F2655A5065459D55" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD7EB7A22F2655A5065459D55 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Rjae Easton wrote: > As my first post to the list - please permit a quick > this-is-a-phenomenal-product (so you know where I stand). Now I > suspect we're all very busy so I will be succinct... > > This morning a commit was interrupted. I do not know how to properly > and completely recover from this failed commit. Based on the details > below can someone recommend - or point to a published HOWTO - the > standard steps one should take after such an event. > > [the details] > history: normal project operation over SFTP for 4 months (173 patches) > version: TLA 1.3 > what happened: > $ cd archives/2004-DEV/research > $ nano -w `tla make-log` > $ nano -w ./build.properties > $ tla commit > (normal output e.g. stuff that's not source) > Password: > (some moments pass...then) > (a message regarding broken SFTP connection) > > ...subsequently I receive the "unable to acquire revision lock" from > any user trying to commit changes to the project (using any > connection, SFTP or otherwise). > > The things I have tried: > 1. removed ++revision... in root of project tree; > 2. tla lock-revision -b... > 3. tla lock-revision -u... > 4. manually creating .../patch-174/++revision.../+content > > I am looking for a repeatable process as I can see this happening > randomly (chaos) in the future. I appreciate any effort you spend > helping me on this. > It should just be a matter of tla lock-revision -b with the correct patch-level. Is this a publicly available archive so that we can see what the current state is? For me, when I try to commit to a hung archive I get: $ tla commit -s "nothing" You need a passphrase to unlock the secret key for user: "John A Meinel " 1024-bit DSA key, ID 848D0003, created 2004-02-24 Enter passphrase: gpg: some signal caught ... exiting Killed by signal 2. [jameinel@Jigglypuff ~/dev/libzip] $ tla commit -s "nothing" arch_commit: unable to acquire revision lock (internal error in archive-pfs.c(pfs_lock_revision)) tree: /Users/jameinel/dev/libzip revision: john@arbash-meinel.com--2005/libzip--dev-stdio--0.1--patch-4 And just doing $ tla lock-revision -b john@arbash-meinel.com--2005/libzip--dev-stdio--0.1--patch-4 With just a copy of the "revision:" line fixes the archive. You've done enough that I can't guarantee this will work, but it is the general solution. John =:-> PS> My example would fail in baz, since if you exit the gpg signature, it automatically unlocks the revision. At least as of 1.1 or something like that. But since your case involves an ssh disconnect, I think it is still valid. > Thanks. > > -- > Rjae Easton > Applanet, Inc. > c: +1.508.369.7339 > e: reaston@applanet.com > blog: http://blogs.applanet.com/percs/ > wiki: http://applanet.com/wiki/default.aspx/Rjae.HomePage > aim: M1ngSheng > msn: rjae_easton@hotmail.com > Y!: m1ngsheng > > > > > _______________________________________________ > Gnu-arch-users mailing list > Gnu-arch-users@gnu.org > http://lists.gnu.org/mailman/listinfo/gnu-arch-users > > GNU arch home page: > http://savannah.gnu.org/projects/gnu-arch/ --------------enigD7EB7A22F2655A5065459D55 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB/6bzJdeBCYSNAAMRAsMAAJ4i1fIvL20d7u/IGHQSpSLTatMhOQCgv4XR oJRIXL0cVVWxGvzOhdpbJtw= =iRQV -----END PGP SIGNATURE----- --------------enigD7EB7A22F2655A5065459D55-- --===============0162567817== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0162567817==--