unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 1740@emacsbugs.donarmstrong.com
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)	[thread overview]
Message-ID: <200812301016.mBUAG5Go000170@mothra.ics.uci.edu> (raw)
In-Reply-To: <871vvq6qvk.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue, 30 Dec 2008 08:53:19 +0100")

Sven Joachim <svenjoac@gmx.de> 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 <era@iki.fi>
  > 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 <era@iki.fi>, 149196@bugs.debian.org
  > Resent-From: era eriksson <era@iki.fi>
  > 
  > 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







  reply	other threads:[~2008-12-30 10:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <878wpy3pmq.fsf@turtle.gmx.de>
2008-12-30  7:53 ` bug#1740: [era eriksson] vc.el adds new files at v2.1 if other v2.x file found Sven Joachim
2008-12-30 10:16   ` Dan Nicolaescu [this message]
2008-12-30 10:55   ` bug#1740: marked as done ([era eriksson] vc.el adds new files at v2.1 if other v2.x file found) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812301016.mBUAG5Go000170@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=1740@emacsbugs.donarmstrong.com \
    --cc=svenjoac@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).