Always nothing:
Step.x.y.z.u.v.w.r.s.t: ........
--------------------------------
(see the rest of this mail: "Version Control step by step")
There are many possibilities to try.
But, I ask you Lars: give me the right steps, please :-)
Give me an example, where "Undo last Check in" do something
At the moment, only "Revert to last version" do somethings.
But it do the same as "File -> revert to saved"
Something I can read the msg "Command not allowed ..."
but I'm not spedy enough to read it (yes, I look out of the windows into the
real world...)
ciao ciao,
antonio
On 18 Aug 2001, Lars Gullik [iso-8859-1] Bj�nnes wrote:
> Antonio Gulino <[EMAIL PROTECTED]> writes:
> | But, only another question:
> | "rcs -o" + version()
> | ? is it the same like
> | rcs -o1.4
> | if the current version is 1.4 ?
> | Because, if it is so, I don't understand why he do nothing.
> | rcs -o1.4 mean that the version 1.4 are deleted.
> | But on LyX nothing is happen
> rcs -o1.4 does not change your checked-out copy of the document
> (AFAIK), so to actually get the old version _in_ lyx you must also
> revert.
Version Control step by step
============================
At the beginning
----------------
~ > ls -al ~/testRCS2.lyx*
-r--r--r-- 1 antonio users 1707 Aug 19 12:59 /home/antonio/testRCS2.lyx,v
~ > rlog -r ~/testRCS2.lyx
RCS file: /home/antonio/testRCS2.lyx,v
Working file: /home/antonio/testRCS2.lyx
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 1
description:
Documento per testare il Version Control
----------------------------
revision 1.6
date: 2001/08/18 11:15:12; author: antonio; state: Exp; lines: +4 -0
Sesta frase
=============================================================================
Step.0: starting LyX
--------------------
:-)
Step.1: open file
-----------------
File -> Open Filename: ~/testRCS2.lyx
Q: "Do you want to retrive file under version control? Yes|No"
A: Yes
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 Unlocked (RO)]
Step.2: undo last check in
--------------------------
File -> Version Control -> Undo last Checkin
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 Unlocked (RO)]
Screen: no changes !
Step.3: revert
--------------
File -> Version Control -> Revert to last version
Q: When you revert, you will loose all changes... Do you still want to do it?
A: Yes
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 Unlocked (RO)]
Screen: no changes !
Step.4: check out
----------------
File -> Version Control -> Check out
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 antonio]
Screen: no changes !
Step.5: making some changes in the document
-------------------------------------------
blah, blah, blah
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 antonio] (Changed)
Step.6.1.1: revert
----------------
File -> Version Control -> Revert to last version
Q: When you revert, you will loose all changes... Do you still want to do it?
A: Yes
Statusline: command not allowed [because no file loaded ?]
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 Unlocked (RO)]
Screen: like before Step.5
Step.6.1.2: making some changes in the document
-------------------------------------------
blah, blah, blah
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 antonio] (Changed)
Step.6.1.3: save changes
------------------------
File -> Save
Step.6.1.4: revert
------------------
File -> Version Control -> Revert to last version
Q: When you revert, you will loose all changes... Do you still want to do it?
A: Yes
Statusline: command not allowed [because no file loaded ?]
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.6 Unlocked (RO)]
Screen: like after Step.6.1.3
Step.6.1.5: check in
--------------------
File -> Version Control -> Check in
Input: LyX VC: Log Message
A: writing blah, blah, blah
Step.6.1.6.1.1: undo last check in
----------------------------------
File -> Version Control -> Undo Last Check In
Screen: like after Step.6.1.3
Step.6.1.6.1.2: revert
----------------------
File -> Version Control -> Revert to last check in
Screen: like after Step.6.1.3
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.7 Unlocked (RO)]
Step.6.1.6.1.3: Check out
-------------------------
File -> Version Control -> Checkout for edit
Screen: like after Step.6.1.3
Statusline: Command not allowed without any document open
Statusline: LyX: ~/testRCS2.lyx [RCS: 1.7 Unlocked (RO)]
Step.6.1.6.1.4: Check in
------------------------
Step.6.1.6.1.5: Closing LyX
---------------------------
Step.6.1.6.1.6: At the end
--------------------------
~ > rlog -r ~/testRCS2.lyx
RCS file: /home/antonio/testRCS2.lyx,v
Working file: /home/antonio/testRCS2.lyx
head: 1.7
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 1
description:
Documento per testare il Version Control
----------------------------
revision 1.7
date: 2001/08/19 11:32:09; author: antonio; state: Exp; lines: +3 -0
writing blah, blah, blah
=============================================================================
:~ > ls -al ~/testRCS2.lyx*
-r--r--r-- 1 antonio users 913 Aug 19 13:48
/home/antonio/testRCS2.lyx
-r--r--r-- 1 antonio users 1872 Aug 19 13:49
/home/antonio/testRCS2.lyx,v
-rw-r--r-- 1 antonio users 938 Aug 19 13:44
/home/antonio/testRCS2.lyx~
#########################################################################
Step.x.y.z.u.v.w.r.s.t: ........
--------------------------------
There are many possibilities to try.
But, I ask you Lars: give me the right steps, please :-)
Give me an example, where "Undo last Check in" do something
At the moment, only "Revert to last version" do somethings.
But it do the same as "File -> revert to saved"