From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu 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 02:16:05 -0800 (PST) Message-ID: <200812301016.mBUAG5Go000170@mothra.ics.uci.edu> References: <871vvq6qvk.fsf@turtle.gmx.de> Reply-To: Dan Nicolaescu , 1740@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230633822 32667 80.91.229.12 (30 Dec 2008 10:43:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 10:43:42 +0000 (UTC) Cc: 1740@emacsbugs.donarmstrong.com To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 11:44:49 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 1LHc5e-0006dC-Uy for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 11:44:47 +0100 Original-Received: from localhost ([127.0.0.1]:42698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHc4R-00067r-7n for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 05:43:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHc4M-00067S-AF for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 05:43:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHc4K-00067G-KT for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 05:43:24 -0500 Original-Received: from [199.232.76.173] (port=56743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHc4K-00067D-Dc for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 05:43:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42036) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHc4J-0001Vn-Tf for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 05:43:24 -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 mBUAhMCp013429; Tue, 30 Dec 2008 02:43:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBUAP4Wg008718; Tue, 30 Dec 2008 02:25:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 10:25:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1740 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1740-submit@emacsbugs.donarmstrong.com id=B1740.12306321807230 (code B ref 1740); Tue, 30 Dec 2008 10:25:04 +0000 Original-Received: (at 1740) by emacsbugs.donarmstrong.com; 30 Dec 2008 10:16:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUAGEFF007222 for <1740@emacsbugs.donarmstrong.com>; Tue, 30 Dec 2008 02:16:15 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mBUAG5KI005525; Tue, 30 Dec 2008 02:16:05 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBUAG5Go000170; Tue, 30 Dec 2008 02:16:05 -0800 (PST) In-Reply-To: <871vvq6qvk.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue, 30 Dec 2008 08:53:19 +0100") Original-Lines: 69 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBUAG5KI005525 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Dec 2008 05:43:24 -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:23572 Archived-At: Sven Joachim writes: > 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. > > From: era eriksson > Subject: Bug#149196: emacs20: vc.el adds new files at v2.1 if other v2.x file found > To: submit@bugs.debian.org > Date: Thu, 06 Jun 2002 14:20:13 +0300 > Reply-To: era eriksson , 149196@bugs.debian.org > Resent-From: era eriksson > > 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 This does not seem to have anything to do with vc.el, after this step if you do: $ echo blah > blah $ cvs add blah $ cvs ci -m "add blah" blah RCS file: /tmp/toycvs/foo/blah,v done Checking in blah; /tmp/toycvs/foo/blah,v <-- blah initial revision: 2.1 done so CVS adds the new file as version 2.1