From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#1740: [era eriksson] vc.el adds new files at v2.1 if other v2.x file found Date: Tue, 30 Dec 2008 08:53:19 +0100 Message-ID: <871vvq6qvk.fsf@turtle.gmx.de> Reply-To: Sven Joachim , 1740@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1230627915 18384 80.91.229.12 (30 Dec 2008 09:05:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 09:05:15 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 10:06:15 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHaXF-0005h3-2U for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 10:05:34 +0100 Original-Received: from localhost ([127.0.0.1]:38704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaW1-0006gP-FL for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 04:03:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaVc-0006Xg-Ao for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaVa-0006Wt-By for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:27 -0500 Original-Received: from [199.232.76.173] (port=38580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaVa-0006Wi-6t for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50948) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHaVZ-0001tG-Ao for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU93Mgn019813; Tue, 30 Dec 2008 01:03:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBU9041b018746; Tue, 30 Dec 2008 01:00:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sven Joachim Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 09:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1740 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123062720717309 (code B ref -1); Tue, 30 Dec 2008 09:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 08:53:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU8rNK9017302 for ; Tue, 30 Dec 2008 00:53:24 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaLq-0005As-Qv for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:53:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaLq-0005AW-8U for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:53:22 -0500 Original-Received: from [199.232.76.173] (port=56490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaLq-0005AT-5u for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:53:22 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:52095) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHaLp-0001DQ-Lb for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:53:22 -0500 Original-Received: (qmail invoked by alias); 30 Dec 2008 07:53:20 -0000 Original-Received: from p54864516.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.69.22] by mail.gmx.net (mp038) with SMTP; 30 Dec 2008 08:53:20 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX198FL8kD+Z8uJm38B6ASPLUjhy76qI5yLpy78EE7k YIoGVaLCTVsDd1 Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id F3192354B0; Tue, 30 Dec 2008 08:53:19 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Dec 2008 04:03:27 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23568 Archived-At: --=-=-= I'm revising old bugs reported against Emacs in Debian and will forward some of them here that are still reproducible in current Emacs CVS. This one is an example of a very well written bug report. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Subject: Bug#149196: emacs20: vc.el adds new files at v2.1 if other v2.x file found Reply-To: era eriksson , 149196@bugs.debian.org Resent-From: era eriksson Original-Sender: era eriksson Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: era+debian@iki.fi, Rob Browning , emacs20@packages.qa.debian.org Resent-Date: Thu, 06 Jun 2002 11:33:04 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 149196 X-Debian-PR-Package: emacs20 X-Debian-PR-Keywords: Received: via spool by submit@bugs.debian.org id=B.102336241616711 (code B ref -1); Thu, 06 Jun 2002 11:33:04 GMT From: era eriksson To: submit@bugs.debian.org X-Mailer: bug 3.2.10 Message-Id: Sender: era eriksson Date: Thu, 06 Jun 2002 14:20:13 +0300 Delivered-To: submit@bugs.debian.org MIME-Version: 1.0 Package: emacs20 Version: 20.7-2 Severity: normal It seems that the version control mode vc.el has a "feature" with CVS which causes it to check in new files beginning at version number 2.1 if there is another file whose version number is 2.x in the same directory (i.e. CVS module / project). I had been noticing this more and more frequently over time, but hadn't been able to diagnose it correctly. Now here are the steps to repro this. * Set up a toy CVS repository and populate it with a project mkdir /tmp/toycvs cvs -d /tmp/toycvs init mkdir /tmp/toycvs/foo * Check out the project and check in a new file "bar" cd /tmp cvs -d /tmp/toycvs co foo cd foo emacs -nw bar C-x v v # initiate CVS add C-c C-c # submit for addition -- you should get CVS@@ on the mode line C-x v v # initiate initial check-in C-c C-c # submit for check-in -- mode line should now have CVS-1.1 * Play around with other files and verify that they get checked in at 1.1 * Now modify the bar file and check in at 2.x C-u C-x v v # initiate check in at named version level 2 # enter version level 2 C-c C-c # submit for check in -- you should now see CVS-2.1 * Add new files and find that they too get checked in at initial version 2.1 I'm not altogether sure that what I see is positively an error, but this behavior has been quite baffling and I could find no mention of it in the manuals. Even if it makes sense in some contexts, it would be nice to be able to specify that I like a different behavior -- that version numbers of files in the same project should not influence each other. The behavior also appears to be incompatible with what CVS itself does, and on those grounds alone could be regarded as buggy, even if somebody quite consciously designed vc.el to do this. Feel free to route this upstream if you like; I imagine that would be the sane thing to do in this case. Sorry for submitting this against emacs20, I have had no opportunity to move to Emacs v21 yet. /* era */ -- System Information Debian Release: 2.2 Kernel Version: Linux there 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown Versions of the packages emacs20 depends on: ii emacsen-common 1.4.12 Common facilities for all emacsen. ii libc6 2.1.3-20 GNU C Library: Shared libraries and Timezone ii liblockfile1 1.01 Shared library with NFS-safe locking functio ii libncurses5 5.0-6.0potato2 Shared libraries for terminal handling ii xlib6g 3.3.6-11potato shared libraries required by X clients --=-=-=--