[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc with rcs does not generate correct versions
From: |
Thien-Thi Nguyen |
Subject: |
Re: vc with rcs does not generate correct versions |
Date: |
Mon, 29 Oct 2007 14:58:17 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
() 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