Need a little help with version control

Stephan Witt st.witt at gmx.net
Tue Feb 9 12:16:03 UTC 2021


Am 09.02.2021 um 13:01 schrieb list_email at icloud.com:
> 
> I’m trying to learn version control (SVN) with LyX on macOS. I have a little past experience with SVn in another context and I’m in Chapter 2 of the book at svnbook.red-bean.com as a refresher. I am the only person who will access the repository which is on my own computer.
> 
> I have set up new repository and imported three files, a LyX document and two graphics files. (I am using a nice GUI app on the Mac). I can check out the LyX document, edit it, and commit. But what I can’t figure out is what is the LyX File -> Version Control -> Register item for? I think it wants to add the current LyX file, which is assumed to be not under version control, to the repository. But _what_ repository? I made a second LyX file named Registering.lyx and typed “Registering a document” into the dialog box. Then I get this message:
> 
> Some problem occurred while running the command:
> 'ci -q -u -i -t-"Registering a document" "Registering.lyx"'.
> 
> I think I am somehow am missing “Step 0” in setting things up.
> 
> Thanks as always for any hints.

The problem with the "Register Item“ menu item is its missing cleverness. It assumes the RCS version control system. That’s why it is unusable with all other systems like SVN and GIT.

You have to register (add) it to your repository manually or with the help of your GUI. Later you’re able to work with the LyX version control features.

Stephan


More information about the lyx-users mailing list