Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iAF8ECKr022187 for ; Mon, 15 Nov 2004 08:14:12 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id F06D5777FD for ; Mon, 15 Nov 2004 08:14:10 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTc8j-0005Si-UC for migo@homemail.com; Mon, 15 Nov 2004 03:23:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTc8I-0005SY-DY for gnu-arch-users@gnu.org; Mon, 15 Nov 2004 03:22:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTc8H-0005S8-LE for gnu-arch-users@gnu.org; Mon, 15 Nov 2004 03:22:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTc8H-0005S5-EC for gnu-arch-users@gnu.org; Mon, 15 Nov 2004 03:22:41 -0500 Received: from [64.233.170.201] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTbyk-0000Lw-Rp for gnu-arch-users@gnu.org; Mon, 15 Nov 2004 03:12:51 -0500 Received: by rproxy.gmail.com with SMTP id a41so701087rng for ; Mon, 15 Nov 2004 00:12:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=ZrqQZSS2IdiZIUQHEKOsuoQApz9pr05f/sEjWxw1rqT13jy1IcFboJ1BujDKF7msIF/4d5BGG+QuoCqfl1QpuKHZ0zOlB37A4qI05Lzgf7HkDM1zV7/cDGKB9+Sd1i/QykHqRUWGgbGn6TC6Q2c8bFvoFTfDeMf+5NPSjzqQWgw= Received: by 10.38.86.38 with SMTP id j38mr382157rnb; Mon, 15 Nov 2004 00:12:50 -0800 (PST) Received: by 10.38.181.53 with HTTP; Mon, 15 Nov 2004 00:12:50 -0800 (PST) Message-ID: <46a038f904111500125ffdd300@mail.gmail.com> Date: Mon, 15 Nov 2004 21:12:50 +1300 From: Martin Langhoff To: Arch Users Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Gnu-arch-users] Out-of-order patch merging and tla update X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Langhoff List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: 1594 Lines: 41 Using Arch for a web-based app (Moodle) I've found a bit of a weird situation I expected tla to deal with more gracefully. We deploy to production doing `tla update`, but sometimes, we deploy individual patches out-of-order using get-patch and do-changeset. This happens because patches are quite self-contained, and some may be getting extra testing or may require off-peak-hour deployment. Whenever the working copy has patches deployed out-of-order, `tla changes` was returning a lot of funny stuff. Obviously, the revision library had been built with the latest complete version, and was showing "reverse patches" for all the few patches we had skipped. I didn't worry. When I did `tla update`, however, things were a bit funny, and the regular ritual of 'undo-merge-redo' went seriously wrong. Valiantly, I resisted hitting ctrl-c to stop the mess I had set in motion. After it was done, I did doing 'tla undo' afterwards, to ensure I had a clean patchlevel. It means, however, that any local changes we had are buried in the latest undo directory, together with a lot of noise. Of course, the right thing to do would have been to deploy the patches we had skipped until I had a clean patchlevel, and only do tla update there. Are there ways to achieve the same goals without tla getting so confused? A "production" branch were we merge things to? cheers, martin _______________________________________________ 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/