Need a little help with version control

list_email at list_email at
Wed Feb 10 10:34:59 UTC 2021

> On Feb 9, 2021, at 5:16 AM, Stephan Witt <st.witt at> wrote:
> Am 09.02.2021 um 13:01 schrieb list_email at
>> 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 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

Thanks, but still not working.

I create a new repository on my computer, then import or add a LyX document. The new doc appears as expected in the repository. I checkout the file into a working copy and edit with LyX, then commit the changes, make comparisons, etc. with my SVN client. In other words, I believe that I can manage things with my SVN client as expected. 

However, I cannot get the built-in LyX functionality to work. When the working copy of the LyX file is open, none of the expected File -> Version Control -> menu items appear, only Register…. Also, most of the icons in the Version Control Toolbar become active—only Register and Insert Version Info do anything, the latter inserting “No version control.”

The working copy that I checked out is apparently known as related to SVN because it has the .svn directory. Also (this is an update from my original post) when attempting the Regiser… action, I get a message

 Some problem occurred while running the command:
'svn add -q "Learning SVN in LyX.lyx”'.

So LyX recognizes somehow the presence of SVN but is trying to perform an add operation on a file that is already in the repository.

Clearly I am missing a basic step.


More information about the lyx-users mailing list