all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: vc with rcs does not generate correct versions
Date: Mon, 29 Oct 2007 14:58:17 +0100	[thread overview]
Message-ID: <87k5p681l2.fsf@ambire.localdomain> (raw)
In-Reply-To: <87myu2gurb.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon\, 29 Oct 2007 10\:00\:56 +0100")

() Uwe Brauer <oub@mat.ucm.es>
() Mon, 29 Oct 2007 10:00:56 +0100

   emacs -q.
   Open a new text file, test.txt.
   Add 1 line register the file, execute vc-register.
   Add a new line, execute vc-toggle. Now the modeline tells me I am in version
   1.2 
   co -p1 test.txt 
   gives me as output the current file.
   but 
   co -p2 test.txt 
   tells me revision 2 absent
   I add a 3rd line and execute vc-toggle.

   same result. 
   co -p3 test.txt 
   tells me revision 2 absent


   Now I use (setq debug-on-error t)
   vc-version-other-window

   and I obtain an error message which I attach. The error is not surprising
   sind co did not return any version above 1!!!

under RCS, a revision number is never a simple integer.  there is always at
least one dot.  in the above tests, you may see results more consistent w/
your expectation if you use "-p1.2" and "-p1.3".  that is, the "1." is not
optional.

thi




  reply	other threads:[~2007-10-29 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29  9:00 vc with rcs does not generate correct versions Uwe Brauer
2007-10-29 13:58 ` Thien-Thi Nguyen [this message]
     [not found] ` <mailman.2718.1193666376.18990.bug-gnu-emacs@gnu.org>
2007-10-29 14:19   ` Uwe Brauer
2007-10-29 20:26     ` Thien-Thi Nguyen

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

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

  git send-email \
    --in-reply-to=87k5p681l2.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=oub@mat.ucm.es \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.