From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] vc-bzr.el: avoid stomping files across hardlink branches. Date: Sat, 08 Nov 2008 23:44:41 -0500 Message-ID: <87fxm11pae.fsf@red-bean.com> References: <200810292207.58558.tim@penhey.net> <874p2h36n4.fsf@red-bean.com> <87y6ztecwn.fsf@catnip.gol.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226205899 11165 80.91.229.12 (9 Nov 2008 04:44:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2008 04:44:59 +0000 (UTC) Cc: Tim Penhey , Barry Warsaw , Emacs Development To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 05:46:01 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kz2BV-00020K-FQ for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 05:46:01 +0100 Original-Received: from localhost ([127.0.0.1]:33499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kz2AO-0003sT-0k for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2008 23:44:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kz2AJ-0003sO-PM for emacs-devel@gnu.org; Sat, 08 Nov 2008 23:44:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kz2AI-0003sC-BT for emacs-devel@gnu.org; Sat, 08 Nov 2008 23:44:46 -0500 Original-Received: from [199.232.76.173] (port=45656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kz2AI-0003s9-6I for emacs-devel@gnu.org; Sat, 08 Nov 2008 23:44:46 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]:37473) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kz2AH-0002W4-74; Sat, 08 Nov 2008 23:44:45 -0500 Original-Received: from localhost ([127.0.0.1]:46141 helo=floss) by sanpietro.red-bean.com with esmtp (Exim 4.69) (envelope-from ) id 1Kz2AE-00015o-Pe; Sat, 08 Nov 2008 22:44:42 -0600 In-Reply-To: <87y6ztecwn.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 09 Nov 2008 13:33:44 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105490 Archived-At: Miles Bader writes: > Karl Fogel writes: >> But then VC apparently got smart and stopped making backup files for >> files under version control. This was good > > VC has had this behavior for a very long time (and I think it's quite > arguable whether it's actually a good default or not -- the granularity > of vc commits and emacs backup files can be very different). Thanks. I should have added a stronger qualifier than "apparently", as I wasn't completely sure about that history! There must be some other reason why the original reporter, Tim Penhey, only noticed the bug recently. Perhaps he'd been customizing his backup-file behavior but then stopped doing so, or something? Anyway, the bug exists regardless. (I agree with you about VC's backup-file behavior being arguable, but it's a separate topic -- this bug would exist, and my patch would apply, no matter what VC's default backup-file behavior were and no matter what customizations a user happened to make to that behavior.) -Karl