Re: LyX???and Git for version control
On Thu, Mar 30, 2023 at 11:17:15AM +0200, Pavel Sanda wrote: > On Sat, Mar 25, 2023 at 10:50:00PM -0700, Madame Michu wrote: > > Hello there, > > > > I???m facing an issue with git and LyX for version control. > > > > > > I followed the guidelines in section 7.2.6 in the "Additional Features" LyX > > manual, but once the git repo is created for the document, and I???try to > > `register` my document with LyX GUI I???get the following error: > > > > ``` > > > > Some problem occurred while running the command: > > 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'. > > ``` > > Indeed I see your problem and we need to either update the code or guidelines. > Essentially the problem is that "git init" is not enough for LyX to recognize > that the directory is under git control. > Once the first file is added via "git add" the recognition (of not just the > file > but the whole dir) works and register command will proceed. > I'll try to look on that once I have some free time. I added a note about this into our manual for LyX 2.4. Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX???and Git for version control
On Sat, Mar 25, 2023 at 10:50:00PM -0700, Madame Michu wrote: > Hello there, > > I???m facing an issue with git and LyX for version control. > > > I followed the guidelines in section 7.2.6 in the "Additional Features" LyX > manual, but once the git repo is created for the document, and I???try to > `register` my document with LyX GUI I???get the following error: > > ``` > > Some problem occurred while running the command: > 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'. > ``` Indeed I see your problem and we need to either update the code or guidelines. Essentially the problem is that "git init" is not enough for LyX to recognize that the directory is under git control. Once the first file is added via "git add" the recognition (of not just the file but the whole dir) works and register command will proceed. I'll try to look on that once I have some free time. At the moment your workaround is to start new git repo via init + add file on the commandline (or via some git frontend). > And then a `Lyx crashed error message` saying: > ``` > SIGSEGV signal caught! > Sorry, you have found a bug in LyX, hope you have not lost any data. > Please read the bug-reporting instructions in 'Help->Introduction' and send > us a bug report, if necessary. Thanks! > Bye The crash should not happen in any circumstance. Alas, I am not able to reproduce the crash here. If you can reproduce the crash please post exact steps how to reproduce, I will have a look. Thanks, Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX and Git for version control
On Sat, 25 Mar 2023, Madame Michu wrote: I’m facing an issue with git and LyX for version control. I followed the guidelines in section 7.2.6 in the "Additional Features" LyX manual, but once the git repo is created for the document, and I try to `register` my document with LyX GUI I get the following error: I've been using git for years to track lyx document changes, but I never used any integration. In the document directory when I first save it, from the shell I run the command `git init`. Then the sequence `git add *`, `git status`, `git commit -m "description"`. Works flawlessly. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX and Git for version control
Hello there, I’m facing an issue with git and LyX for version control. I followed the guidelines in section 7.2.6 in the "Additional Features" LyX manual, but once the git repo is created for the document, and I try to `register` my document with LyX GUI I get the following error: ``` Some problem occurred while running the command: 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'. ``` And then a `Lyx crashed error message` saying: ``` SIGSEGV signal caught! Sorry, you have found a bug in LyX, hope you have not lost any data. Please read the bug-reporting instructions in 'Help->Introduction' and send us a bug report, if necessary. Thanks! Bye ``` With the following details: ``` 1) /usr/bin/lyx: /usr/bin/lyx(+0x63d1f8) [0x5603ffae41f8] ( 2) /usr/bin/lyx: /usr/bin/lyx(+0x63c652) [0x5603ffae3652] ( 3) /usr/bin/lyx: /usr/bin/lyx(+0x2feb27) [0x5603ff7a5b27] ( 4) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fcf88442520] ( 5) /lib/x86_64-linux-gnu/libQt5Core.so.5: /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f12a8) [0x7fcf88ef12a8] ( 6) /usr/bin/lyx: /usr/bin/lyx(+0x6cfd53) [0x5603ffb76d53] ( 7) /lib/x86_64-linux-gnu/libQt5Core.so.5: /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f17c8) [0x7fcf88ef17c8] ( 8) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QAction::triggered(bool) ( 9) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QAction::activate(QAction::ActionEvent) ( 10) /lib/x86_64-linux-gnu/libQt5Core.so.5: QObject::event(QEvent*) ( 11) /lib/x86_64-linux-gnu/libQt5Widgets.so.5: QApplicationPrivate::notify_helper(QObject*, QEvent*) ( 12) /usr/bin/lyx: /usr/bin/lyx(+0x64edb0) [0x5603ffaf5db0] ( 13) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::notifyInternal2(QObject*, QEvent*) ( 14) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ( 15) /lib/x86_64-linux-gnu/libQt5Core.so.5: /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x313a67) [0x7fcf88f13a67] ( 16) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x26b) [0x7fcf88b1bd3b] ( 17) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xaa6c8) [0x7fcf88b706c8] ( 18) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7fcf88b193e3] ( 19) /lib/x86_64-linux-gnu/libQt5Core.so.5: QEventDispatcherGlib::processEvents(QFlags) ( 20) /lib/x86_64-linux-gnu/libQt5Core.so.5: QEventLoop::exec(QFlags) ( 21) /lib/x86_64-linux-gnu/libQt5Core.so.5: QCoreApplication::exec() ( 22) /usr/bin/lyx: /usr/bin/lyx(+0x307c0d) [0x5603ff7aec0d] ( 23) /usr/bin/lyx: /usr/bin/lyx(+0x1a3939) [0x5603ff64a939] ( 24) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fcf88429d90] ( 25) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7fcf88429e40] ( 26) /usr/bin/lyx: /usr/bin/lyx(+0x1af63e) [0x5603ff65663e] ``` It seems like LyX doesn’t detect the git repo as it is supposed to based on the documentation. I don’t know how to fix this. I’m running Ubuntu 22.04, and downloaded LyX through the official Ubuntu repo. Here is the details of LyX: ``` LyX 2.3.6 (2020-11-27) Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=release std-regex warnings use-enchant Bundled libraries: (none) C++ Compiler: g++ (10.2.0) C++ Compiler flags: -Wall -Wextra -fPIC -O2 -std=c++14 -Wno-deprecated-copy C++ Compiler user flags: -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -g -O2 -fdebug-prefix-map=/build/lyx-ufkcxK/lyx-2.3.6=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Linker flags: Linker user flags: -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now Qt Frontend: Qt version: 5.15.2 Packaging: posix LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx ``` Thanks and regards. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
yes, thanks, this seems to be the problem! Regards Robert > Am 03.03.2021 um 12:23 schrieb Pavel Sanda : > > On Tue, Mar 02, 2021 at 12:49:39PM +0100, Robert Neumann wrote: >> Hello, >> I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder >> I installed RCS, and as long as I use it, the version controll works fine. >> As soon as I acces the file from another Computer it does not work properly >> anymore. I get this message: >> >> Bei der Ausführung des Befehls /while executing >> 'co -p1.1 "Rundbrief_3_2021.lyx" > >> "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' >> ist ein Fehler aufgetreten. / there was an error >> >> and when I try to check in the changes: >> >> Bei der Ausführung des Befehls / while executing >> 'ci -q -u -m"(keine Protokollmeldung)??? ???test.lyx"' ist ein Fehler >> aufgetreten. / there was an error >> >> So this seems to my, that the version control accesses some tmp-file which >> ??? of course ??? is not available on the other computer. I am not sure, if >> it might be a good idea, to change the tmp-path to the nextcloud. Especially >> since the local paths are different. > > I doubt it's related to the tmp directory. > > When you check out the file is should be read-write, once you check-in it > should-be read-only. > If this attribute is not set properly, RCS will fail. > > So my first guess is that while Nextcloud transfers the content of the file > it does not properly transfer read-write attributtes of the file. > Can you check it? > > Pavel > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
On Tue, Mar 02, 2021 at 12:49:39PM +0100, Robert Neumann wrote: > Hello, > I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder > I installed RCS, and as long as I use it, the version controll works fine. As > soon as I acces the file from another Computer it does not work properly > anymore. I get this message: > > Bei der Ausführung des Befehls /while executing > 'co -p1.1 "Rundbrief_3_2021.lyx" > > "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' > ist ein Fehler aufgetreten. / there was an error > > and when I try to check in the changes: > > Bei der Ausführung des Befehls / while executing > 'ci -q -u -m"(keine Protokollmeldung)??? ???test.lyx"' ist ein Fehler > aufgetreten. / there was an error > > So this seems to my, that the version control accesses some tmp-file which > ??? of course ??? is not available on the other computer. I am not sure, if > it might be a good idea, to change the tmp-path to the nextcloud. Especially > since the local paths are different. I doubt it's related to the tmp directory. When you check out the file is should be read-write, once you check-in it should-be read-only. If this attribute is not set properly, RCS will fail. So my first guess is that while Nextcloud transfers the content of the file it does not properly transfer read-write attributtes of the file. Can you check it? Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
On 02-Mar-21 2:49 PM, Robert Neumann wrote: Hello, I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder I installed RCS, and as long as I use it, the version controll works fine. As soon as I acces the file from another Computer it does not work properly anymore. I get this message: Bei der Ausführung des Befehls /while executing 'co -p1.1 "Rundbrief_3_2021.lyx" > "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' ist ein Fehler aufgetreten. / there was an error and when I try to check in the changes: Bei der Ausführung des Befehls / while executing 'ci -q -u -m"(keine Protokollmeldung)“ „test.lyx"' ist ein Fehler aufgetreten. / there was an error So this seems to my, that the version control accesses some tmp-file which – of course – is not available on the other computer. I am not sure, if it might be a good idea, to change the tmp-path to the nextcloud. Especially since the local paths are different. Thanks! RCS does not work on two different computers AFAIK. -- ↓↓ Please bottom-post. Start your reply here: -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
yes, it is synched and available on both computers. RN > Am 02.03.2021 um 13:25 schrieb Dr Eberhard Lisse : > > Did you copy the ,v file? > > el > > On 02/03/2021 13:49, Robert Neumann wrote: >> Hello, >> I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder >> I installed RCS, and as long as I use it, the version controll works fine. >> As soon as I acces the file from another Computer it does not work properly >> anymore. I get this message: >> >> Bei der Ausführung des Befehls /while executing >> 'co -p1.1 "Rundbrief_3_2021.lyx" > >> "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' >> ist ein Fehler aufgetreten. / there was an error >> >> and when I try to check in the changes: >> >> Bei der Ausführung des Befehls / while executing >> 'ci -q -u -m"(keine Protokollmeldung)“ „test.lyx"' ist ein Fehler >> aufgetreten. / there was an error >> >> So this seems to my, that the version control accesses some tmp-file which – >> of course – is not available on the other computer. I am not sure, if it >> might be a good idea, to change the tmp-path to the nextcloud. Especially >> since the local paths are different. >> Thanks! >> > > > -- > To email me replace 'nospam' with 'el' > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
Did you copy the ,v file? el On 02/03/2021 13:49, Robert Neumann wrote: > Hello, > I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder > I installed RCS, and as long as I use it, the version controll works fine. As > soon as I acces the file from another Computer it does not work properly > anymore. I get this message: > > Bei der Ausführung des Befehls /while executing > 'co -p1.1 "Rundbrief_3_2021.lyx" > > "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' > ist ein Fehler aufgetreten. / there was an error > > and when I try to check in the changes: > > Bei der Ausführung des Befehls / while executing > 'ci -q -u -m"(keine Protokollmeldung)“ „test.lyx"' ist ein Fehler > aufgetreten. / there was an error > > So this seems to my, that the version control accesses some tmp-file which – > of course – is not available on the other computer. I am not sure, if it > might be a good idea, to change the tmp-path to the nextcloud. Especially > since the local paths are different. > Thanks! > -- To email me replace 'nospam' with 'el' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders
Hello, I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder I installed RCS, and as long as I use it, the version controll works fine. As soon as I acces the file from another Computer it does not work properly anymore. I get this message: Bei der Ausführung des Befehls /while executing 'co -p1.1 "Rundbrief_3_2021.lyx" > "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"' ist ein Fehler aufgetreten. / there was an error and when I try to check in the changes: Bei der Ausführung des Befehls / while executing 'ci -q -u -m"(keine Protokollmeldung)“ „test.lyx"' ist ein Fehler aufgetreten. / there was an error So this seems to my, that the version control accesses some tmp-file which – of course – is not available on the other computer. I am not sure, if it might be a good idea, to change the tmp-path to the nextcloud. Especially since the local paths are different. Thanks! -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
> On Feb 10, 2021, at 6:06 AM, Stephan Witt wrote: > > Am 10.02.2021 um 11:34 schrieb list_em...@icloud.com: >> >>> >>> On Feb 9, 2021, at 5:16 AM, Stephan Witt wrote: >>> >>> Am 09.02.2021 um 13:01 schrieb list_em...@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 >> >> 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. >> >> Jerry > > Ok, it would be better if I verify my statements sometimes. > > I’ve checked it myself now and it works for me. See the log below: > > 13:59:54.564: Öffne Dokument ~/tmp/playground/Shortcuts-test2.lyx... > 13:59:54.679: svn info "Shortcuts-test2.lyx" > 13:59:54.693: svn: warning: W155010: The node > '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' was not found. > 13:59:54.693: > 13:59:54.694: svn: E29: Could not display info for all targets because > some targets don't exist > 13:59:54.705: Dokument ~/tmp/playground/Shortcuts-test2.lyx ist geöffnet. > 13:59:54.706: (file-open: ⌃O)support/Systemcall.cpp (276): Systemcall: 'svn > info "Shortcuts-test2.lyx"' finished with exit code 1 > 14:00:07.860: svn proplist "Shortcuts-test2.lyx" > 14:00:07.877: svn: warning: W25: > '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' is not under version > control > 14:00:07.877: svn: E29: Could not display properties of all targets > because some targets are not versioned > 14:00:07.878: svn: E29: Illegal target for the requested operation > support/Systemcall.cpp (276): Systemcall: 'svn proplist > "Shortcuts-te
Re: Need a little help with version control
Am 12.02.2021 um 10:52 schrieb list_em...@icloud.com: > >> >> On Feb 10, 2021, at 6:06 AM, Stephan Witt wrote: >> >> Am 10.02.2021 um 11:34 schrieb list_em...@icloud.com: >>> >>>> >>>> On Feb 9, 2021, at 5:16 AM, Stephan Witt wrote: >>>> >>>> Am 09.02.2021 um 13:01 schrieb list_em...@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 >>> >>> 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. >>> >>> Jerry >> >> Ok, it would be better if I verify my statements sometimes. >> >> I’ve checked it myself now and it works for me. See the log below: >> >> 13:59:54.564: Öffne Dokument ~/tmp/playground/Shortcuts-test2.lyx... >> 13:59:54.679: svn info "Shortcuts-test2.lyx" >> 13:59:54.693: svn: warning: W155010: The node >> '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' was not found. >> 13:59:54.693: >> 13:59:54.694: svn: E29: Could not display info for all targets because >> some targets don't exist >> 13:59:54.705: Dokument ~/tmp/playground/Shortcuts-test2.lyx ist geöffnet. >> 13:59:54.706: (file-open: ⌃O)support/Systemcall.cpp (276): Systemcall: 'svn >> info "Shortcuts-test2.lyx"' finished with exit code 1 >> 14:00:07.860: svn proplist "Shortcuts-test2.lyx" >> 14:00:07.877: svn: warn
Re: Need a little help with version control
TFM isn’t helpful. It does not tell how to get started. Plus, TFM assumes more knowledge of version control systems than most LyX users have. I don’t want to install rcs as long as svn is supposed to work. Jerry > On Feb 10, 2021, at 5:45 AM, Dr Eberhard Lisse wrote: > > The 'ci not found' means it wants the RCS system to which ci belongs and > this is not installed, which can be rectified easily by homebrew. > > For the rest, RTFM (Help --> Additional Features) > > el > > > On 09/02/2021 14:01, list_em...@icloud.com wrote: >> 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. >> >> Jerry >> > > -- > To email me replace 'nospam' with 'el' > > > -- > To email me replace 'nospam' with 'el' > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
Jerry, unless you collaborate SVN is overkill :-)-O I have a large project under RCS and make control. Works very well. el On 12/02/2021 10:06, list_em...@icloud.com wrote: > TFM isn’t helpful. It does not tell how to get started. Plus, TFM > assumes more knowledge of version control systems than most LyX users > have. I don’t want to install rcs as long as svn is supposed to work. > > Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
> On Feb 9, 2021, at 5:16 AM, Stephan Witt wrote: > > Am 09.02.2021 um 13:01 schrieb list_em...@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 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. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
Am 10.02.2021 um 11:34 schrieb list_em...@icloud.com: > >> >> On Feb 9, 2021, at 5:16 AM, Stephan Witt wrote: >> >> Am 09.02.2021 um 13:01 schrieb list_em...@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 > > 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. > > Jerry Ok, it would be better if I verify my statements sometimes. I’ve checked it myself now and it works for me. See the log below: 13:59:54.564: Öffne Dokument ~/tmp/playground/Shortcuts-test2.lyx... 13:59:54.679: svn info "Shortcuts-test2.lyx" 13:59:54.693: svn: warning: W155010: The node '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' was not found. 13:59:54.693: 13:59:54.694: svn: E200009: Could not display info for all targets because some targets don't exist 13:59:54.705: Dokument ~/tmp/playground/Shortcuts-test2.lyx ist geöffnet. 13:59:54.706: (file-open: ⌃O)support/Systemcall.cpp (276): Systemcall: 'svn info "Shortcuts-test2.lyx"' finished with exit code 1 14:00:07.860: svn proplist "Shortcuts-test2.lyx" 14:00:07.877: svn: warning: W25: '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' is not under version control 14:00:07.877: svn: E29: Could not display properties of all targets because some targets are not versioned 14:00:07.878: svn: E29: Illegal target for the requested operation support/Systemcall.cpp (276): Systemcall: 'svn proplist "Shortcuts-test2.lyx"' finished with exit code 1 14:00:16.886: svn add -q "Shortcuts-test2.lyx" 14:00:16.984: svn info "Shortcuts-test2.lyx" 14:00:17.007: svn proplist "Shortcuts-test2.lyx" 14:00:17.024: Dokument ~/tmp/playground/Shortcuts-test2.lyx neu geladen. Conclusion: 1. The working environment is LyX-2.3.6.2 and svn binary in path (verify it in terminal). 2. You may check and possibly update your LyX app. 3. You may activate the status message pane and redo the register VC command. Stephan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
The 'ci not found' means it wants the RCS system to which ci belongs and this is not installed, which can be rectified easily by homebrew. For the rest, RTFM (Help --> Additional Features) el On 09/02/2021 14:01, list_em...@icloud.com wrote: > 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. > > Jerry > -- To email me replace 'nospam' with 'el' -- To email me replace 'nospam' with 'el' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Need a little help with version control
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. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Need a little help with version control
Am 09.02.2021 um 13:01 schrieb list_em...@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 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Version control system
Ivan, I assume you use a Mac from the look of the icons. If you use Windows, stop reading here :-)-O What happens if you try something like ci -l Title.lyx from a command line? Or even better ci -u -i -t-"Register" "Title.lyx" (leave the -q out) Does a file Title.lyx,v already exist? I have been using RCS on the mac for many years, and for a single user it is perfectly sufficient. On the Mac it was included in the past, but now (Mojave) has to install it manually from something like Homebrew. What does realpath $(which ci) return? Homebrew would return something like /usr/local/Cellar/rcs/5.9.4_1/bin/ci For collaboration something like GIT or SVN is much better, but the required setup effort is also bigger. greetings, el On 11/04/2019 11:22, Baris Erkus wrote: > On 11-Apr-19 12:06 PM, Иван Горюнов wrote: > > Hello! > > I have a trouble using VCS. > > When I try to register document in VCS I get the following message: > > [cid:part1.BC09EC10.EECC986B@hotmail.com] > > I tried solution in this article: > https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage > > I have installed RCS, but it did not make any changes. > > Then I tried to use git, like it is described: > > "Using git > > If you want to use git, then it is straight forward. Just install git > and create a repo in the folder of the LyX document. LyX will then > will detect that git repo and you will be able to check in and check > out the document. You even can use your cloud storage with git > without having to check in the last change in you work PC." > > > > Also no changes, still the same error (git client works ok, but I > wanted some built-in solutinon for LyX). > > I performed TeXLive installation described in this article: > https://wiki.lyx.org/Windows/TeXLive > > > Best regards, > Ivan Goryunov > > Hello, > > You are either making a small mistake or it does not work due to some > bug in RCS. Git is totally independent from RCS and is a seperate VCS. > If you are using Git, you do not need to use RCS. > > In fact, Git is more powerful and bug-free than RCS, so I would highly > recommend to use Git along with a GUI such as Sourcetree instead of > RCS (you can use built-in Git toolbar but that does not track files > -e.g. figures- other than the LyX file). AFAIK, RCS is not actively > maintained/developed anymore, it is outdated and has some bugs. I > have spent too much time on RCS, and it did not prove to be useful for > my case at all. So in my opinion: dump RCS and invest into Git. > > Baris > > -- > ↓↓ > Please bottom-post. Start your reply here: >
Re: Version control system
On 11-Apr-19 12:06 PM, Иван Горюнов wrote: Hello! I have a trouble using VCS. When I try to register document in VCS I get the following message: [cid:part1.BC09EC10.EECC986B@hotmail.com] I tried solution in this article: https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage I have installed RCS, but it did not make any changes. Then I tried to use git, like it is described: "Using git If you want to use git, then it is straight forward. Just install git and create a repo in the folder of the LyX document. LyX will then will detect that git repo and you will be able to check in and check out the document. You even can use your cloud storage with git without having to check in the last change in you work PC." Also no changes, still the same error (git client works ok, but I wanted some built-in solutinon for LyX). I performed TeXLive installation described in this article: https://wiki.lyx.org/Windows/TeXLive Best regards, Ivan Goryunov Hello, You are either making a small mistake or it does not work due to some bug in RCS. Git is totally independent from RCS and is a seperate VCS. If you are using Git, you do not need to use RCS. In fact, Git is more powerful and bug-free than RCS, so I would highly recommend to use Git along with a GUI such as Sourcetree instead of RCS (you can use built-in Git toolbar but that does not track files -e.g. figures- other than the LyX file). AFAIK, RCS is not actively maintained/developed anymore, it is outdated and has some bugs. I have spent too much time on RCS, and it did not prove to be useful for my case at all. So in my opinion: dump RCS and invest into Git. Baris -- ↓↓ Please bottom-post. Start your reply here:
Version control system
Hello! I have a trouble using VCS. When I try to register document in VCS I get the following message: I tried solution in this article: https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage I have installed RCS, but it did not make any changes. Then I tried to use git, like it is described: " Using git If you want to use git, then it is straight forward. Just install git and create a repo in the folder of the LyX document. LyX will then will detect that git repo and you will be able to check in and check out the document. You even can use your cloud storage with git without having to check in the last change in you work PC." Also no changes, still the same error (git client works ok, but I wanted some built-in solutinon for LyX). I performed TeXLive installation described in this article: https://wiki.lyx.org/Windows/TeXLive Best regards, Ivan Goryunov
Re: Version Control -> Compare with Older Revision... Question
On Thu, May 10, 2018 at 8:36 AM, Pavel Sanda wrote: > Joel Kulesza wrote: > > Is there a way to bring these consistent so a user can clearly see which > > commits are going to be compared? I understand the ease associated with > > the HEAD~N approach; however, can that information be put into the > Version > > Control Log? Alternatively, could a Version Control Log-like text box be > > added to the diff dialog and populated with "git log -N" according to the > > "N" selected by the user? This latter approach is likely (a) easier and > > (b) more descriptive. > > What sounds relatively easy is to add one-line text field next to > "Revision back: N" counter which contains the ouput of: > git show --quiet --abbrev-commit --pretty=oneline HEAD~N > which would be triggered for any value entered in the counter. Even better! I'll file that as a request. Thanks! - Joel
Re: Version Control -> Compare with Older Revision... Question
Joel Kulesza wrote: > Is there a way to bring these consistent so a user can clearly see which > commits are going to be compared? I understand the ease associated with > the HEAD~N approach; however, can that information be put into the Version > Control Log? Alternatively, could a Version Control Log-like text box be > added to the diff dialog and populated with "git log -N" according to the > "N" selected by the user? This latter approach is likely (a) easier and > (b) more descriptive. What sounds relatively easy is to add one-line text field next to "Revision back: N" counter which contains the ouput of: git show --quiet --abbrev-commit --pretty=oneline HEAD~N which would be triggered for any value entered in the counter. Pavel
Re: Version Control -> Compare with Older Revision... Question
On Thu, May 10, 2018 at 5:35 AM, Pavel Sanda wrote: > Joel Kulesza wrote: > > Colleagues: > > > > I have a LyX document in a larger git repository that I wish to compare > > with a previous commit. Other than "counting back" commits, is there a > way > > to see precisely which two commits the LyX documents correspond to that > are > > being compared? > > If you mean sha of the commit then no, you would need to check log > for the exact strings. In fact LyX internally does not deal with them, > it just goes by HEAD~N pointers when reaching back to N-th commit in > history... Indeed, I meant the sha1sum hash. A thought: There is perhaps an inconsistency here: the LyX-internal Version Control Log gives the standard `git log` output which is based only on the hashes. The LyX-internal Compare with Older Revision is based only on HEAD~N pointers. Is there a way to bring these consistent so a user can clearly see which commits are going to be compared? I understand the ease associated with the HEAD~N approach; however, can that information be put into the Version Control Log? Alternatively, could a Version Control Log-like text box be added to the diff dialog and populated with "git log -N" according to the "N" selected by the user? This latter approach is likely (a) easier and (b) more descriptive. If any of these approaches (or another) sounds reasonable, I'll submit an enhancement request. Thank you, Joel
Re: Version Control -> Compare with Older Revision... Question
Joel Kulesza wrote: > Colleagues: > > I have a LyX document in a larger git repository that I wish to compare > with a previous commit. Other than "counting back" commits, is there a way > to see precisely which two commits the LyX documents correspond to that are > being compared? If you mean sha of the commit then no, you would need to check log for the exact strings. In fact LyX internally does not deal with them, it just goes by HEAD~N pointers when reaching back to N-th commit in history... Pavel
Version Control -> Compare with Older Revision... Question
Colleagues: I have a LyX document in a larger git repository that I wish to compare with a previous commit. Other than "counting back" commits, is there a way to see precisely which two commits the LyX documents correspond to that are being compared? I apologize in advance if I'm overlooking something totally obvious. Thank you, Joel
RE: RCS Version Control on Two Computers
On Wed, 21 Mar 2018, Baris Erkus wrote: How did you do it? Did you define the commands one-by-one? I guess, you cannot see the difference between two files on LyX. Baris, I have a local repository and when I'm done making changes (or stopping for the day) I access the version control dialog (so far only checking in changes) and entering a comment. I've not needed to check out a version, yet using the menu command to check out a previous version to get the one checked in on the other system _might_ do the trick. Regards, Rich
RE: RCS Version Control on Two Computers
> FWIW, I set up the git repository externally then use git commands within LyX. How did you do it? Did you define the commands one-by-one? I guess, you cannot see the difference between two files on LyX.
Re: RCS Version Control on Two Computers
On Wed, 21 Mar 2018, Rich Shepard wrote: FWIW, I set up the git repository externally then use git commands within LyX. Then again, I run only linux. Rich
Re: RCS Version Control on Two Computers
On Wed, 21 Mar 2018, Baris Erkus wrote: BTW, any future plans for incorporating Git commands into LyX? I can do it externally, but would be great if it was placed in LyX. Baris, FWIW, I set up the git repository externally then use git commands within LyX. Rich
RE: RCS Version Control on Two Computers
I found the answer by myself on the LyX wiki: https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage#toc7 Version Control on the Cloud with RCS Let’s assume this situation: you have to identical LyX installations with RCS on two different PCs, one at work and one at home. And you saved all your LyX files on your Box, dropbox or OneDrive. You want to be able to continue working at home after you leave your saved document at work. This can be done but not in a perfect way. What I mean is that you won’t be able to just have a version controlled document on one pc and use the same file on the other pc. What you have to do is check all changes on your work pc before leaving. When you go back home you have to check out the document and continue working. Note that won’t be able to keep the same history of version control on the file at work unless you do the check in/check out as I just described. If you save you document at work without checking them, then you lose all of these changes since you will have to check out the document at home to continue version control. This is an apparent bug in RCS and sadly it is the best thing available on Windows since LyX doesn’t yet fully support git. (note: whoever is writting this I invite you to development mailing list. I do not exactly understand what your issue with RCS is, but we might be able to fix it. Pavel) Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: lyx-users@lists.lyx.org on behalf of Baris Erkus Sent: Wednesday, March 21, 2018 9:11:19 AM To: lyx-users@lists.lyx.org Subject: RCS Version Control on Two Computers Hi, I am working on a LyX document with RCS version control enabled. I am working on the file during the day in my office on my office PC and in the evening on my home PC. I am using cloud to keep files. I sometimes encounter that RCS gives an error. (I guess it is related with check-in check-out status, ready-only status and maybe other settings.) [cid:image001.png@01D3C0F4.90C529F0] What should I do to make RCS work on two PCs? BTW, any future plans for incorporating Git commands into LyX? I can do it externally, but would be great if it was placed in LyX. Thanks in advance, Baris Note: This is the fixed I found by myself: When I check the “.lyx,v” file, I observe that the following header creates a problem. (I guess this header corresponds to checked-in status.) head 1.8; access; symbols; locks; strict; comment@# @; I check the header of fine-working RCS file and found that it is in the following format. (I guess this header corresponds to checked-out status.) head 1.8; access; symbols; locks bariserkus:1.8; strict; comment@# @; If I replace the “locks; strict;” portion with “locksbariserkus:1.8; strict;”, it works just fine. Note that “1.8” is the version number and “bariserkus” is the author name.
RCS Version Control on Two Computers
Hi, I am working on a LyX document with RCS version control enabled. I am working on the file during the day in my office on my office PC and in the evening on my home PC. I am using cloud to keep files. I sometimes encounter that RCS gives an error. (I guess it is related with check-in check-out status, ready-only status and maybe other settings.) [cid:image001.png@01D3C0F4.90C529F0] What should I do to make RCS work on two PCs? BTW, any future plans for incorporating Git commands into LyX? I can do it externally, but would be great if it was placed in LyX. Thanks in advance, Baris Note: This is the fixed I found by myself: When I check the “.lyx,v” file, I observe that the following header creates a problem. (I guess this header corresponds to checked-in status.) head 1.8; access; symbols; locks; strict; comment@# @; I check the header of fine-working RCS file and found that it is in the following format. (I guess this header corresponds to checked-out status.) head 1.8; access; symbols; locks bariserkus:1.8; strict; comment@# @; If I replace the “locks; strict;” portion with “locksbariserkus:1.8; strict;”, it works just fine. Note that “1.8” is the version number and “bariserkus” is the author name.
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Pavel, I didn't know that such a toolbar existed )-)-O More to explore :-)-O Thank you. el On 21/02/2018 17:40, Pavel Sanda wrote: > Dr Eberhard Lisse wrote: >> \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $} >> >> \newcommand{\versionstring}{v\rcsfilerev, >> \rcsfileyear-\rcsfilemonth-\rcsfileday} >> >> suitable for preamble and/or ERT, page styles or watermarks. > > Do you know you can do such things natively in LyX? Version Control > Toolbar->Insert Version Info and the select what you want in context > menu. > > Pavel >
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Dr Eberhard Lisse wrote: > \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $} > > \newcommand{\versionstring}{v\rcsfilerev, > \rcsfileyear-\rcsfilemonth-\rcsfileday} > > suitable for preamble and/or ERT, page styles or watermarks. Do you know you can do such things natively in LyX? Version Control Toolbar->Insert Version Info and the select what you want in context menu. Pavel
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
As I wrote, for collaboration RCS is not good enough and I would also not use it. Whether to use GIT or SVN, I defer to the experts and if GIT is supported out of the box, so be it :-)-O But, for my own use on the Mac with Time Machine and Unison (to synchronize my machines at home and work) RCS is all I need. el On 21/02/2018 02:35, Steve Litt wrote: > On Tue, 20 Feb 2018 14:12:01 -0800 (PST) Rich Shepard > wrote: > >> On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote: >> >>> Maybe one can take the time to look at one of the already existing >>> converters from RCS (CVS?) to SVN/GIT or whatever else LyX can >>> handle, but to be honest, why bother? >> >> el, >> >>Even as a single user I've found git better suited to my needs >>than svn. Shrug. >> >> Regards, >> >> Rich > > Git's the bomb. If you're having your editor review your LyX doc, > there could be two special paragraph styles that doesn't show up on > the PDF: Query and Answer: Your editor queries you why you don't do > something different, and you either answer "Agreed", or you say why > you think it should stand. The discussion might go another couple > rounds. If you both push and pull from the same Git repo, then you > have a history of the whole thing, and a very easy way to collaborate. > > SteveT >
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
On Tue, 20 Feb 2018 14:12:01 -0800 (PST) Rich Shepard wrote: > On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote: > > > Maybe one can take the time to look at one of the already existing > > converters from RCS (CVS?) to SVN/GIT or whatever else LyX can > > handle, but to be honest, why bother? > > el, > >Even as a single user I've found git better suited to my needs > than svn. Shrug. > > Regards, > > Rich Git's the bomb. If you're having your editor review your LyX doc, there could be two special paragraph styles that doesn't show up on the PDF: Query and Answer: Your editor queries you why you don't do something different, and you either answer "Agreed", or you say why you think it should stand. The discussion might go another couple rounds. If you both push and pull from the same Git repo, then you have a history of the whole thing, and a very easy way to collaborate. SteveT
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote: Maybe one can take the time to look at one of the already existing converters from RCS (CVS?) to SVN/GIT or whatever else LyX can handle, but to be honest, why bother? el, Even as a single user I've found git better suited to my needs than svn. Shrug. Regards, Rich
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Rich, half in jest :-)-O RCS on an an existing file is better than no version control, or starting a new version control with different software (on the same document, and loosing all previous version control). It also works for single users very well, I have a few documents with includes all under RCS, and I use the rcs-multi package to generate something like \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $} \newcommand{\versionstring}{v\rcsfilerev, \rcsfileyear-\rcsfilemonth-\rcsfileday} suitable for preamble and/or ERT, page styles or watermarks. On new files one can obviously take something modern, especially if one collaborates. Maybe one can take the time to look at one of the already existing converters from RCS (CVS?) to SVN/GIT or whatever else LyX can handle, but to be honest, why bother? el On 2018-02-20 15:49 , Rich Shepard wrote: > On Tue, 20 Feb 2018, Dr Eberhard Lisse wrote: > >> can you quickly hack up a converter for existing documents? > > Eberhard, > > I don't understand what you're asking. > > When I want to track changes to a document I set up a git repository > in that document's subdirectory, external to lyx. Within LyX I use > File -> Version control (or the keyboard shortcuts) to commit > changes adding the explanatory text in the data entry widget without > quotes. > > Rich >
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
On Tue, 20 Feb 2018, Dr Eberhard Lisse wrote: can you quickly hack up a converter for existing documents? Eberhard, I don't understand what you're asking. When I want to track changes to a document I set up a git repository in that document's subdirectory, external to lyx. Within LyX I use File -> Version control (or the keyboard shortcuts) to commit changes adding the explanatory text in the data entry widget without quotes. Rich
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Rich, can you quickly hack up a converter for existing documents? :-)-O el On 17/02/2018 15:40, Rich Shepard wrote: > On Sat, 17 Feb 2018, Pavel Sanda wrote: > >> For the record, it turned out that High Sierra is no more compatible >> with old RCS binaries (if you manually run co -l file.lyx you get >> "Illegal instruction: 4"). Compiling RCS via homebrew fixed the >> problem. > > Pavel, > > If subversion, mercurial, or git are available for Macs they are > more modern than RCS. Have you considered them? > > Rich >
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Rich Shepard wrote: > If subversion, mercurial, or git are available for Macs they are more > modern than RCS. Have you considered them? I was solving someone-else's problem, so not my choice. Anyway, more modern does not mean more appropriate. RCS is most easy and one does not have to deal with repositories (I actually prefer to use it for small-scale lyx documents myself). But the moment you need to track pictures, bibliography etc, you need more powerful tool. SVN is best when you want collaborate and enforce locking for (childerns of) the document. Git allows you to have easy local repo without any need of server hassle. So it really depends what is the particular usecase... Pavel
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
On Sat, 17 Feb 2018, Pavel Sanda wrote: For the record, it turned out that High Sierra is no more compatible with old RCS binaries (if you manually run co -l file.lyx you get "Illegal instruction: 4"). Compiling RCS via homebrew fixed the problem. Pavel, If subversion, mercurial, or git are available for Macs they are more modern than RCS. Have you considered them? Rich
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Pavel Sanda wrote: > Busch, Andreas wrote: > > I use GNU RCS 5.9.0 which appears to be the most recent, on a Mac with High > > Sierra (10.13.2) and LyX 2.2. Updating to LyX 2.3rc1 made no difference. I > > am not sure whether the last successful use of rcs with LyX predates > > upgrading to High Sierra, otherwise there were no changes to my setup. > > > > Having checked the mailing list archive, I find no recent discussion of > > problems around rcs. If anyone has an idea where the cause of the error may > > be or any suggestions what else I should try I'd be very grateful! For the record, it turned out that High Sierra is no more compatible with old RCS binaries (if you manually run co -l file.lyx you get "Illegal instruction: 4"). Compiling RCS via homebrew fixed the problem. Pavel
Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Busch, Andreas wrote: > I use GNU RCS 5.9.0 which appears to be the most recent, on a Mac with High > Sierra (10.13.2) and LyX 2.2. Updating to LyX 2.3rc1 made no difference. I am > not sure whether the last successful use of rcs with LyX predates upgrading > to High Sierra, otherwise there were no changes to my setup. > > Having checked the mailing list archive, I find no recent discussion of > problems around rcs. If anyone has an idea where the cause of the error may > be or any suggestions what else I should try I'd be very grateful! First idea: change of username (rcs lock is saved under your login name). Then looking at debug would be helpful: 1. View->Message Pane 2. Settings panel->Selected & "lyxvc - Version control" 3. Switch back to Output panel 4. run your erring command and check (post here) the message. You can also play with the commands after "doVCCommandCall:" msg on your own to check what is going on if you know how to work with terminal/rcs. Pavel
Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1
Hi, for years I have used LyX with version control (GNU rcs) on a number of documents which I regularly revise. It has proved very useful for that purpose. Trying to check out one of these documents I ran into trouble yesterday, however. LyX threw up an unexplained error box indicating that trying to use co (checkout) had resulted in an error. All other attempts (rolling back the last check-in or trying to register a new document with rcs) also failed. I use GNU RCS 5.9.0 which appears to be the most recent, on a Mac with High Sierra (10.13.2) and LyX 2.2. Updating to LyX 2.3rc1 made no difference. I am not sure whether the last successful use of rcs with LyX predates upgrading to High Sierra, otherwise there were no changes to my setup. Having checked the mailing list archive, I find no recent discussion of problems around rcs. If anyone has an idea where the cause of the error may be or any suggestions what else I should try I'd be very grateful! Thanks and best wishes, Andreas signature.asc Description: Message signed with OpenPGP
Re: Version control
Refer to this short tutorial https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage I recommend you use git instead of RCS LyX wiki | LyX / VersionControlInstallationAndUsage<https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage> wiki.lyx.org RCS Installation on Windows. It is assumed that you have a successful installation of LyX and Latex (Tex Live or MiKTeX). In the following your LyX installation is ... Best Regards, Ahmad Abdullah From: lyx-users@lists.lyx.org on behalf of Wolfgang Engelmann Sent: Tuesday, September 27, 2016 11:27:32 AM To: lyx-users@lists.lyx.org Subject: Version control I want to edit a document in collaboration with a colleague and thought to use Version Control for this. When I try to register in version control, I get this message LyX Fehler der Versionskontrolle: Bei der Ausführung des Befehls 'ci -q -u -i -t-"SP-Witte20160927WE" "SP-Witte20160926kh.20160927WE.lyx"' ist ein Fehler aufgetreten I have not used it before and do not know what I did wrong. Can somebody give me a hint? I use Debian and Lyx 2.2.1 (July 2016) Thanks, Wolfgang
Re: Version control
However, you need to know something. LyX doesn't commit any new files or pictures other than the lyx text file to the git repo. If you want the full git support, you have to commit manually using any git software such as SourceTree. Best Regards, Ahmad Abdullah From: lyx-users@lists.lyx.org on behalf of Pavel Sanda Sent: Tuesday, January 2, 2018 5:44:55 AM To: lyx-users@lists.lyx.org Subject: Re: Version control Rich Shepard wrote: > When checking in using git and the within-lyx function I do not need to > add the quotation marks surrounding the message in the text entry widget. > LyX adds them for me. Correct? No you don't. Pavel
Re: Version control
Rich Shepard wrote: > When checking in using git and the within-lyx function I do not need to > add the quotation marks surrounding the message in the text entry widget. > LyX adds them for me. Correct? No you don't. Pavel
Re: Issues with version control
Rich Shepard wrote: > I _thought_ I had set up version control using GIT. Checking in the > document after adding text now generates an error (see attached .png). > > Turns out that there was no .git repository in that directory, so I > created one manually and will manually commit changes. Perhaps it's not > working from the File -> Version control menu item? You can not create git repository with LyX. You need to do it manually and then simple git commands will work inside LyX. If you try to put lyx file under version control in LyX, it will try to use rcs by default, not git and that's the problem you see ('ci' command is part of rcs as others already suggested.) Pavel
Version control
When checking in using git and the within-lyx function I do not need to add the quotation marks surrounding the message in the text entry widget. LyX adds them for me. Correct? Rich
Re: Issues with version control
On Mon, 25 Dec 2017, Dr Eberhard Lisse wrote: does 'ci' on the command line work? el, It does with SVN but GIT uses commit instead of check in. My fingers do the right thing and I mis-remembered when I wrote the message. Apologies, Rich
Re: Issues with version control
Os, does 'ci' on the command line work? el On 2017-12-25 02:08 , Rich Shepard wrote: > On Mon, 25 Dec 2017, Dr Eberhard Lisse wrote: > >> it seems to want to use ci (which means rcs).. > > el, > > 'ci' is also a git alias for 'commit' and works on the command line. > Since I use git for my programming (python, grass, R, sql) saving versions > using the CLI is fine with me. > > Regards, > > Rich >
Re: Issues with version control
On Mon, 25 Dec 2017, Dr Eberhard Lisse wrote: it seems to want to use ci (which means rcs).. el, 'ci' is also a git alias for 'commit' and works on the command line. Since I use git for my programming (python, grass, R, sql) saving versions using the CLI is fine with me. Regards, Rich
Re: Issues with version control
Rich, it seems to want to use ci (which means rcs).. el On 2017-12-24 00:36 , Rich Shepard wrote: > I _thought_ I had set up version control using GIT. Checking in the > document after adding text now generates an error (see attached .png). > > Turns out that there was no .git repository in that directory, so I > created one manually and will manually commit changes. Perhaps it's not > working from the File -> Version control menu item? > > Rich
Issues with version control
I _thought_ I had set up version control using GIT. Checking in the document after adding text now generates an error (see attached .png). Turns out that there was no .git repository in that directory, so I created one manually and will manually commit changes. Perhaps it's not working from the File -> Version control menu item? Rich
Re: Version control - works
https://packages.debian.org/search?keywords=lyx there I have chosen Jessie ... On 28.09.2016 10:03, Dr Eberhard Lisse wrote: URL would be helpful :-)-O el On 2016-09-28 08:32, Wolfgang Engelmann wrote: I have updated/installed the recommended additional packages related to lyx in Download Page for lyx_2.1.2-2_amd64.deb on AMD64 machines and now the Version control works. Wolfgang On 27.09.2016 18:27, Wolfgang Engelmann wrote: I want to edit a document in collaboration with a colleague and thought to use Version Control for this. When I try to register in version control, I get this message LyX Fehler der Versionskontrolle: Bei der Ausführung des Befehls 'ci -q -u -i -t-"SP-Witte20160927WE" "SP-Witte20160926kh.20160927WE.lyx"' ist ein Fehler aufgetreten I have not used it before and do not know what I did wrong. Can somebody give me a hint? I use Debian and Lyx 2.2.1 (July 2016) Thanks, Wolfgang
Re: Version control - works
URL would be helpful :-)-O el On 2016-09-28 08:32, Wolfgang Engelmann wrote: > I have updated/installed the recommended additional packages related to > lyx in > > > Download Page for lyx_2.1.2-2_amd64.deb on AMD64 machines > > > and now the Version control works. > Wolfgang > > On 27.09.2016 18:27, Wolfgang Engelmann wrote: >> >> I want to edit a document in collaboration with a colleague and >> thought to use Version Control for this. >> >> When I try to register in version control, I get this message >> >> LyX Fehler der Versionskontrolle: >> >> Bei der Ausführung des Befehls >> >> 'ci -q -u -i -t-"SP-Witte20160927WE" >> "SP-Witte20160926kh.20160927WE.lyx"' ist ein Fehler aufgetreten >> >> I have not used it before and do not know what I did wrong. Can >> somebody give me a hint? >> >> I use Debian and Lyx 2.2.1 (July 2016) >> >> Thanks, >> >> Wolfgang >>
Re: Version control - works
I have updated/installed the recommended additional packages related to lyx in Download Page for lyx_2.1.2-2_amd64.deb on AMD64 machines and now the Version control works. Wolfgang On 27.09.2016 18:27, Wolfgang Engelmann wrote: I want to edit a document in collaboration with a colleague and thought to use Version Control for this. When I try to register in version control, I get this message LyX Fehler der Versionskontrolle: Bei der Ausführung des Befehls 'ci -q -u -i -t-"SP-Witte20160927WE" "SP-Witte20160926kh.20160927WE.lyx"' ist ein Fehler aufgetreten I have not used it before and do not know what I did wrong. Can somebody give me a hint? I use Debian and Lyx 2.2.1 (July 2016) Thanks, Wolfgang
Version control
I want to edit a document in collaboration with a colleague and thought to use Version Control for this. When I try to register in version control, I get this message LyX Fehler der Versionskontrolle: Bei der Ausführung des Befehls 'ci -q -u -i -t-"SP-Witte20160927WE" "SP-Witte20160926kh.20160927WE.lyx"' ist ein Fehler aufgetreten I have not used it before and do not know what I did wrong. Can somebody give me a hint? I use Debian and Lyx 2.2.1 (July 2016) Thanks, Wolfgang
RE: RCS Version Control on Windows
YES! I discovered that the hard way. I also created a wiki for that at http://wiki.lyx.org/LyX/VersionControlInstallationAndUsage Best Regards, Ahmad Abdullah > Date: Sun, 24 Jul 2016 16:51:35 -0700 > From: sa...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > > Richard Heck wrote: > > On 06/30/2016 07:10 PM, Ahmad Abdullah wrote: > >> This is just a recap and for future reference ( I will include it in the > >> wiki as well). So it seems that I can only check in from Home only after I > >> checkout the last version I checked in at work. Meaning that, if I need to > >> be able to do version control at home on the same file, I must check in > >> all changes I made at work before going home or else I will lose all of > >> them because at home I have to check out the last successfully checked in > >> version before being able to do any version control. Even if I save my > >> changes at work without checking them in, I will lose all of them at home > >> because I have to check out the last successfully checked in version. This > >> is a weird bug in RCS as far as I see. > > > > RCS was a very early VCS, and it has a lot of shortcomings. > > Actually in current LyX setup RCS is more feature rich than git and given > it's storage simplicity it's often better alternative than git. > > Things change if you want collaborate or store also figures. > > Pavel
Re: RCS Version Control on Windows
Richard Heck wrote: > On 06/30/2016 07:10 PM, Ahmad Abdullah wrote: >> This is just a recap and for future reference ( I will include it in the >> wiki as well). So it seems that I can only check in from Home only after I >> checkout the last version I checked in at work. Meaning that, if I need to >> be able to do version control at home on the same file, I must check in >> all changes I made at work before going home or else I will lose all of >> them because at home I have to check out the last successfully checked in >> version before being able to do any version control. Even if I save my >> changes at work without checking them in, I will lose all of them at home >> because I have to check out the last successfully checked in version. This >> is a weird bug in RCS as far as I see. > > RCS was a very early VCS, and it has a lot of shortcomings. Actually in current LyX setup RCS is more feature rich than git and given it's storage simplicity it's often better alternative than git. Things change if you want collaborate or store also figures. Pavel
Re: RCS Version Control on Windows
Ahmad Abdullah wrote: > Are > you saying that I can still check in and check out LyX documents using > File/Version Control menu if I use git? I am not aware of that at all. You might want to look at Help->Additional Features, section "Version Control in LyX". Most probably too late since you already switched to git, but anyway - for your original problem, my guess is that you have different user name at work and at home. LyX uses RCS in the way that only the same name which locked the document can unlock it again. So if you have different username it will choke on that. Second problem might by that OneDrive does not correctly store read-only flags of the files, which is for RCS/SVN critical because they use locking. Pavel
Re: RCS Version Control on Windows
On 06/30/2016 07:10 PM, Ahmad Abdullah wrote: This is just a recap and for future reference ( I will include it in the wiki as well). So it seems that I can only check in from Home only after I checkout the last version I checked in at work. Meaning that, if I need to be able to do version control at home on the same file, I must check in all changes I made at work before going home or else I will lose all of them because at home I have to check out the last successfully checked in version before being able to do any version control. Even if I save my changes at work without checking them in, I will lose all of them at home because I have to check out the last successfully checked in version. This is a weird bug in RCS as far as I see. RCS was a very early VCS, and it has a lot of shortcomings. Richard Best Regards, Ahmad Abdullah From: ahmad.abdul...@msn.com To: kor...@lyx.org; lyx-users@lists.lyx.org Subject: RE: RCS Version Control on Windows Date: Tue, 28 Jun 2016 22:54:05 + Actually I couldn't wait the whole week to try git. I installed git on my work pc, created a sample LyX file then created a git repo using the git client (the LyX document resides in a folder in my OneDrive and the .git folder repo is within this folder). Once I do this and open the document in LyX, LyX detects the version control. I added few more lines and checked in the new document. I then go back home and installed git to see if I can continue checking in to the document. So I open the document with LyX, add few more lines and then check in and Voila! It works. I even can check out and compare revisions. Note that I don't interact with git anymore after I setup the repo. The limitation of this approach is that you have to set up the git repo before you can do version control on the document but I can live with that. It would be a neat solution, if LyX in future versions ships with git and enable the user to register the document in the background without the user leaving the program to create his own repo (basically a small script that calls git internally without the user having to interact with git directly). Anyway thanks you all so much specially Kornel for your help. I will definitely submit a wiki on that. Best Regards, Ahmad Abdullah From: ahmad.abdul...@msn.com To: kor...@lyx.org; lyx-users@lists.lyx.org Subject: RE: RCS Version Control on Windows Date: Tue, 28 Jun 2016 21:43:58 + I will give this a trial this week and will tell you what happens. Best Regards, Ahmad Abdullah > From: kor...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > Date: Tue, 28 Jun 2016 23:05:58 +0200 > > Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah > > Are > > you saying that I can still check in and check out LyX documents using > > File/Version Control menu if I use git? I am not aware of that at all. > > If so, please point me to something that tells me how. I have heard > > about the support for git in LyX but never found something that explains > > the process. > > Provided you have a checkout from a git repo. > From lyx you can open a file which is under git control. > Then use e.g. > File->Version Control->Show History > > > Best Regards, > > Ahmad Abdullah > > Kornel
RE: RCS Version Control on Windows
This is just a recap and for future reference ( I will include it in the wiki as well). So it seems that I can only check in from Home only after I checkout the last version I checked in at work. Meaning that, if I need to be able to do version control at home on the same file, I must check in all changes I made at work before going home or else I will lose all of them because at home I have to check out the last successfully checked in version before being able to do any version control. Even if I save my changes at work without checking them in, I will lose all of them at home because I have to check out the last successfully checked in version. This is a weird bug in RCS as far as I see. Best Regards, Ahmad Abdullah From: ahmad.abdul...@msn.com To: kor...@lyx.org; lyx-users@lists.lyx.org Subject: RE: RCS Version Control on Windows Date: Tue, 28 Jun 2016 22:54:05 + Actually I couldn't wait the whole week to try git. I installed git on my work pc, created a sample LyX file then created a git repo using the git client (the LyX document resides in a folder in my OneDrive and the .git folder repo is within this folder). Once I do this and open the document in LyX, LyX detects the version control. I added few more lines and checked in the new document. I then go back home and installed git to see if I can continue checking in to the document. So I open the document with LyX, add few more lines and then check in and Voila! It works. I even can check out and compare revisions. Note that I don't interact with git anymore after I setup the repo. The limitation of this approach is that you have to set up the git repo before you can do version control on the document but I can live with that. It would be a neat solution, if LyX in future versions ships with git and enable the user to register the document in the background without the user leaving the program to create his own repo (basically a small script that calls git internally without the user having to interact with git directly). Anyway thanks you all so much specially Kornel for your help. I will definitely submit a wiki on that. Best Regards, Ahmad Abdullah From: ahmad.abdul...@msn.com To: kor...@lyx.org; lyx-users@lists.lyx.org Subject: RE: RCS Version Control on Windows Date: Tue, 28 Jun 2016 21:43:58 + I will give this a trial this week and will tell you what happens. Best Regards, Ahmad Abdullah > From: kor...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > Date: Tue, 28 Jun 2016 23:05:58 +0200 > > Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah > > > Are > > you saying that I can still check in and check out LyX documents using > > File/Version Control menu if I use git? I am not aware of that at all. > > If so, please point me to something that tells me how. I have heard > > about the support for git in LyX but never found something that explains > > the process. > > Provided you have a checkout from a git repo. > From lyx you can open a file which is under git control. > Then use e.g. > File->Version Control->Show History > > > Best Regards, > > Ahmad Abdullah > > Kornel
RE: RCS Version Control on Windows
Actually I couldn't wait the whole week to try git. I installed git on my work pc, created a sample LyX file then created a git repo using the git client (the LyX document resides in a folder in my OneDrive and the .git folder repo is within this folder). Once I do this and open the document in LyX, LyX detects the version control. I added few more lines and checked in the new document. I then go back home and installed git to see if I can continue checking in to the document. So I open the document with LyX, add few more lines and then check in and Voila! It works. I even can check out and compare revisions. Note that I don't interact with git anymore after I setup the repo. The limitation of this approach is that you have to set up the git repo before you can do version control on the document but I can live with that. It would be a neat solution, if LyX in future versions ships with git and enable the user to register the document in the background without the user leaving the program to create his own repo (basically a small script that calls git internally without the user having to interact with git directly). Anyway thanks you all so much specially Kornel for your help. I will definitely submit a wiki on that. Best Regards, Ahmad Abdullah From: ahmad.abdul...@msn.com To: kor...@lyx.org; lyx-users@lists.lyx.org Subject: RE: RCS Version Control on Windows Date: Tue, 28 Jun 2016 21:43:58 + I will give this a trial this week and will tell you what happens. Best Regards, Ahmad Abdullah > From: kor...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > Date: Tue, 28 Jun 2016 23:05:58 +0200 > > Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah > > > Are > > you saying that I can still check in and check out LyX documents using > > File/Version Control menu if I use git? I am not aware of that at all. > > If so, please point me to something that tells me how. I have heard > > about the support for git in LyX but never found something that explains > > the process. > > Provided you have a checkout from a git repo. > From lyx you can open a file which is under git control. > Then use e.g. > File->Version Control->Show History > > > Best Regards, > > Ahmad Abdullah > > Kornel
RE: RCS Version Control on Windows
I will give this a trial this week and will tell you what happens. Best Regards, Ahmad Abdullah > From: kor...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > Date: Tue, 28 Jun 2016 23:05:58 +0200 > > Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah > > > Are > > you saying that I can still check in and check out LyX documents using > > File/Version Control menu if I use git? I am not aware of that at all. > > If so, please point me to something that tells me how. I have heard > > about the support for git in LyX but never found something that explains > > the process. > > Provided you have a checkout from a git repo. > From lyx you can open a file which is under git control. > Then use e.g. > File->Version Control->Show History > > > Best Regards, > > Ahmad Abdullah > > Kornel
Re: RCS Version Control on Windows
Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah > Are > you saying that I can still check in and check out LyX documents using > File/Version Control menu if I use git? I am not aware of that at all. > If so, please point me to something that tells me how. I have heard > about the support for git in LyX but never found something that explains > the process. Provided you have a checkout from a git repo. From lyx you can open a file which is under git control. Then use e.g. File->Version Control->Show History > Best Regards, > Ahmad Abdullah Kornel signature.asc Description: This is a digitally signed message part.
RE: RCS Version Control on Windows
Are you saying that I can still check in and check out LyX documents using File/Version Control menu if I use git? I am not aware of that at all. If so, please point me to something that tells me how. I have heard about the support for git in LyX but never found something that explains the process. Best Regards, Ahmad Abdullah > From: kor...@lyx.org > To: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > Date: Tue, 28 Jun 2016 22:38:19 +0200 > > Am Dienstag, 28. Juni 2016 um 20:07:52, schrieb Ahmad Abdullah > > > I > > do include the whole document and its RCS repo in OneDrive, as matter > > of fact in the same folder. This is what is confusing me, if everything > > lives in the same folder, why > > can't I do version control on a different PC? I have examined the > > MyDoc.lyx,v file and I don't see any trace for OS dependent variables. > > > > > > > > Setting up a git account would be a less neat solution as I will lose the > > version control from within LyX. > > Why that? Lyx works well with git IMHO. > > > Best Regards, > > Ahmad Abdullah > > > > Kornel
Re: RCS Version Control on Windows
Am Dienstag, 28. Juni 2016 um 20:07:52, schrieb Ahmad Abdullah > I > do include the whole document and its RCS repo in OneDrive, as matter > of fact in the same folder. This is what is confusing me, if everything > lives in the same folder, why > can't I do version control on a different PC? I have examined the MyDoc.lyx,v > file and I don't see any trace for OS dependent variables. > > > > Setting up a git account would be a less neat solution as I will lose the > version control from within LyX. Why that? Lyx works well with git IMHO. > Best Regards, > Ahmad Abdullah > Kornel signature.asc Description: This is a digitally signed message part.
RE: RCS Version Control on Windows
I do include the whole document and its RCS repo in OneDrive, as matter of fact in the same folder. This is what is confusing me, if everything lives in the same folder, why can't I do version control on a different PC? I have examined the MyDoc.lyx,v file and I don't see any trace for OS dependent variables. Setting up a git account would be a less neat solution as I will lose the version control from within LyX. Best Regards, Ahmad Abdullah Subject: Re: RCS Version Control on Windows To: ahmad.abdul...@msn.com; lyx-users@lists.lyx.org From: rgh...@lyx.org Date: Tue, 28 Jun 2016 13:42:16 -0400 On 06/28/2016 10:35 AM, Ahmad Abdullah wrote: Hi all, This is my first email to this group. I generally find the online resources as well as LyX documentation very helpful. The only exception to this rule is when it comes to version control. It took me so much time to know how to install RCS on Windows. I basically followed the steps given in the LyX wiki on how to install RCS for a portable LyX installation. After I did that, I was able to do version control easily. I have identical installations at the PC at home and the one at work (work is windows 7 and home is windows 10). Now my problem is actually that I use my OneDrive to save my LyX document. I use my OneDrive so I have access to the document both at work and at home. So here is a typical scenario I am facing: I am at work, saved the document on my OneDrive and then checked in all changes. After that I go back home, the problem arises. When I open the document I saved at work with the LyX installation at home, LyX at home doesn’t recognize the last check in that I committed at work and I still have to check in the last change (LyX at home says the document is not locked). So I try to check in the last change, and then LyX complains saying that “Some error happened while ci, can’t check in the document”. Basically what is happening I can’t check in any changes made at home to the same RCS repo (the MyDoc.lyx,v file) I created at work, i.e., I have to save the document with a new name and start a new version control in it which means I will have to lose all history in the RCS repo; a bad idea obviously. My question is whether any one saw this before. What should I do so that I can check in to same RCS repo both at home and at work without the need to re-save the same document over and over again. This is a problem with RCS, not with LyX. If I were you, I'd set up a free git account somewhere, e.g., gitlab, and use that. Then you don't need OneDrive or whatever. You can push your changes to yout git account from home, then pull them at work, and vice versa. Alternatively, if you really want to use OneDrive, then you should put the entire directory where your RCS repo lives on it. Richard Best Regards, Ahmad Abdullah
RE: RCS Version Control on Windows
Sure, I will do it over the weekend. Best Regards, Ahmad Abdullah > Date: Tue, 28 Jun 2016 15:57:45 -0400 > From: skost...@lyx.org > To: ahmad.abdul...@msn.com > CC: lyx-users@lists.lyx.org > Subject: Re: RCS Version Control on Windows > > On Tue, Jun 28, 2016 at 02:35:30PM +, Ahmad Abdullah wrote: > > > > > > Hi all, > > > > This is my first email to this group. I generally find the > > online resources as well as LyX documentation very helpful. The only > > exception > > to this rule is when it comes to version control. It took me so much time to > > know how to install RCS on Windows. I basically followed the steps given in > > the > > LyX wiki on how to install RCS for a portable LyX installation. After I did > > that, I was able to do version control easily. I have identical > > installations > > at the PC at home and the one at work (work is windows 7 and home is windows > > 10). > > Sorry for the wasted time, Ahmad. Now that you made progress, could you > please help improve the Wiki? You can edit it and improve it for the > next users with the same issue. > > Scott
Re: RCS Version Control on Windows
On Tue, Jun 28, 2016 at 02:35:30PM +, Ahmad Abdullah wrote: > > > Hi all, > > This is my first email to this group. I generally find the > online resources as well as LyX documentation very helpful. The only exception > to this rule is when it comes to version control. It took me so much time to > know how to install RCS on Windows. I basically followed the steps given in > the > LyX wiki on how to install RCS for a portable LyX installation. After I did > that, I was able to do version control easily. I have identical installations > at the PC at home and the one at work (work is windows 7 and home is windows > 10). Sorry for the wasted time, Ahmad. Now that you made progress, could you please help improve the Wiki? You can edit it and improve it for the next users with the same issue. Scott signature.asc Description: PGP signature
Re: RCS Version Control on Windows
On 06/28/2016 10:35 AM, Ahmad Abdullah wrote: Hi all, This is my first email to this group. I generally find the online resources as well as LyX documentation very helpful. The only exception to this rule is when it comes to version control. It took me so much time to know how to install RCS on Windows. I basically followed the steps given in the LyX wiki on how to install RCS for a portable LyX installation. After I did that, I was able to do version control easily. I have identical installations at the PC at home and the one at work (work is windows 7 and home is windows 10). Now my problem is actually that I use my OneDrive to save my LyX document. I use my OneDrive so I have access to the document both at work and at home. So here is a typical scenario I am facing: I am at work, saved the document on my OneDrive and then checked in all changes. After that I go back home, the problem arises. When I open the document I saved at work with the LyX installation at home, LyX at home doesn’t recognize the last check in that I committed at work and I still have to check in the last change (LyX at home says the document is not locked). So I try to check in the last change, and then LyX complains saying that “Some error happened while ci, can’t check in the document”. Basically what is happening I can’t check in any changes made at home to the same RCS repo (the *MyDoc.lyx,v* file) I created at work, i.e., I have to save the document with a new name and start a new version control in it which means I will have to lose all history in the RCS repo; a bad idea obviously. My question is whether any one saw this before. What should I do so that I can check in to same RCS repo both at home and at work without the need to re-save the same document over and over again. This is a problem with RCS, not with LyX. If I were you, I'd set up a free git account somewhere, e.g., gitlab, and use that. Then you don't need OneDrive or whatever. You can push your changes to yout git account from home, then pull them at work, and vice versa. Alternatively, if you really want to use OneDrive, then you should put the entire directory where your RCS repo lives on it. Richard Best Regards, Ahmad Abdullah
Re: RCS Version Control on Windows
Have you tried making sure that the RCS archive is getting copied across? If you're just transporting the lyx file then you will, of course, not be getting the history in the archive. Can you find a cloud-based version control service (Github? -- I'm so naive)? Your version control wouldn't be integrated with lyx, then, but RCS is so old it creaks. On 2016-06-28 07:35, Ahmad Abdullah wrote: > Hi all, > > This is my first email to this group. I generally find the online resources > as well as LyX documentation very helpful. The only exception to this rule is > when it comes to version control. It took me so much time to know how to > install RCS on Windows. I basically followed the steps given in the LyX wiki > on how to install RCS for a portable LyX installation. After I did that, I > was able to do version control easily. I have identical installations at the > PC at home and the one at work (work is windows 7 and home is windows 10). > > Now my problem is actually that I use my OneDrive to save my LyX document. I > use my OneDrive so I have access to the document both at work and at home. So > here is a typical scenario I am facing: I am at work, saved the document on > my OneDrive and then checked in all changes. After that I go back home, the > problem arises. When I open the document I saved at work with the LyX > installation at home, LyX at home doesn't recognize the last check in that I > committed at work and I still have to check in the last change (LyX at home > says the document is not locked). So I try to check in the last change, and > then LyX complains saying that "Some error happened while ci, can't check in > the document". Basically what is happening I can't check in any changes made > at home to the same RCS repo (the MYDOC.LYX,V file) I created at work, i.e., > I have to save the document with a new name and start a new version control > in it which means I will have to lose all history in the RCS repo; a bad idea obviously. > > My question is whether any one saw this before. What should I do so that I > can check in to same RCS repo both at home and at work without the need to > re-save the same document over and over again. > > Best Regards, > Ahmad Abdullah
RCS Version Control on Windows
Hi all, This is my first email to this group. I generally find the online resources as well as LyX documentation very helpful. The only exception to this rule is when it comes to version control. It took me so much time to know how to install RCS on Windows. I basically followed the steps given in the LyX wiki on how to install RCS for a portable LyX installation. After I did that, I was able to do version control easily. I have identical installations at the PC at home and the one at work (work is windows 7 and home is windows 10). Now my problem is actually that I use my OneDrive to save my LyX document. I use my OneDrive so I have access to the document both at work and at home. So here is a typical scenario I am facing: I am at work, saved the document on my OneDrive and then checked in all changes. After that I go back home, the problem arises. When I open the document I saved at work with the LyX installation at home, LyX at home doesn’t recognize the last check in that I committed at work and I still have to check in the last change (LyX at home says the document is not locked). So I try to check in the last change, and then LyX complains saying that “Some error happened while ci, can’t check in the document”. Basically what is happening I can’t check in any changes made at home to the same RCS repo (the MyDoc.lyx,v file) I created at work, i.e., I have to save the document with a new name and start a new version control in it which means I will have to lose all history in the RCS repo; a bad idea obviously. My question is whether any one saw this before. What should I do so that I can check in to same RCS repo both at home and at work without the need to re-save the same document over and over again. Best Regards, Ahmad Abdullah
Re: no export..save as..close-version control
On 05/23/2015 12:07 PM, Eildert Groeneveld wrote: Dear All lately I am having an issue with lyx 2.1.3 on Ubuntu 15.04 Much of the pull down elements are shaded and can thus not be chosen. Under the FILE tab I have only a few unshaded like open import but not save, print, export and a few others. I have found nothing on the web. After deleting the ~/.lyx file everything looks fine, only to quickly revert back to its old state. BTW, the keyboard shortcuts work. Any idea what might be wrong? This: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1430059 Richard
no export..save as..close-version control
Dear All lately I am having an issue with lyx 2.1.3 on Ubuntu 15.04 Much of the pull down elements are shaded and can thus not be chosen. Under the FILE tab I have only a few unshaded like open import but not save, print, export and a few others. I have found nothing on the web. After deleting the ~/.lyx file everything looks fine, only to quickly revert back to its old state. BTW, the keyboard shortcuts work. Any idea what might be wrong? cheers Eildert
Re: Problematic Version Control
Hi all together, Thank you Murat and Stephan for your help! Stephan got the Jackpot, you’re absolutely right! Now everything’s back to normal :) Thank you very much All the best Thomas Am 05.12.2013 um 07:58 schrieb Stephan Witt : > Am 04.12.2013 um 23:46 schrieb Thomas Wirtz : > >> Hi Murat, >> >> Thank your for your advice and your link. >> I can’t really say something about Xcode / Coda and if it affects the >> version control system of LyX. I don’t use Git / SVN with Lyx - just the >> regular VC: http://wiki.lyx.org/Mac/VersionControl >> So it’s RCS. >> >> Fine to know, that LyX now supports Git / SVN. I will use that for future >> projects, but of course now I would be really happy to recover my current VC >> (RCS) .lyx,v file to have the full history back for use :) >> >> For the list, I added the two error messages to this e-mail: >> https://dl.dropboxusercontent.com/u/1625441/error1.jpg >> https://dl.dropboxusercontent.com/u/1625441/error2.jpg >> >> First error occurs when I try to „commit", and the second one when I try to >> retrieve the history. > > > Does this help? > https://www.mail-archive.com/lyx-users@lists.lyx.org/msg97282.html > > Stephan > >> >> Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu >> : >> >>> Hi Thomas, >>> >>> I am not sure that I understand everything :-) I am not a big VC user >>> myself, I am trying to get disciplined enough to be able to use it, but no >>> avail. But, I am more or less following the evolution of the softs, and >>> rather tempted to adopt git, now that Lyx can use it. >>> Unfortunately, I cannot directly answer your questions. But I have found >>> the following post by the editors of Coda, maybe their tricks could help >>> you if you end up by using SVN with Lyx: >>> >>> http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn >>> >>> I also send my answer to the list, probably someone else, more competent >>> than me could help you using the information you give below, in your >>> message. >>> >>> Please keep us informed if you locate the source and the solution of your >>> problem. >>> >>> Best regards, >>> >>> Murat >>> >>> >>> >>> >>> 2013/12/4 Thomas Wirtz >>> Hi Murat, >>> >>> Thanks for your quick reply. >>> I’m using the native version control of Lyx which creates a .lyx,v file. So >>> I think this is not SVN but simple version control, right? >>> Nevertheless I reinstalled the command line tools of Xcode some time ago >>> after Mavericks update - but when using SVN I am using the app „Versions“ >>> and for eclipse I’m using subclipse for SVN support. >>> >>> I don’t know if those information is helping you getting to know what went >>> wrong here - but is Lyx really using SVN for version control? >>> >>> >>> Cheers, >>> Thomas >>> >>> >>> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu >>> : >>> >>>> Hi Thomas, >>>> Were you using the SVN version that comes with Xcode? If yes, have you >>>> reinstalled the command line tools of Xcode? They are suppressed during >>>> the installation of Mavericks if I remember well. Their reinstallation is >>>> necessary if you need that SVN, or have not installed another one. If you >>>> rather use Git, you can also install it yourself. Mavericks update has >>>> deleted many things in my case (including the Oracle Java, for example). >>>> >>>> >>>> 2013/12/4 Thomas Wirtz >>>> Hi guys, >>>> >>>> I’ve a huge problem with my version control in an existing file and >>>> noticed it now. >>>> There may be a connection to the Mavericks update on OS X, but I’m not >>>> 100% sure. >>>> I’ve posted some screenshots of my errors here: >>>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 >>>> >>>> I receive the error on both 2.0.6 and 2.1beta2. >>>> >>>> Can you tell me something about this error? How can I fix this? >>>> >>>> All the best, >>>> Thomas >>>> >>>> >>>> >>>> -- >>>> Prof. Murat Yildizoglu >>>> >>>> Université Montesquieu Bordeaux IV >>>> GREThA (UMR CNRS 5113) >>>> Avenue Léon Duguit >>>> 33608 Pessac cedex >>>> France >>>> >>>> Bureau : E-331 >>>> >>>> mail: yildi-at-u-bordeaux4.fr >>>> >>>> web: yildizoglu.info >>> >>> >>> >>> >>> -- >>> Prof. Murat Yildizoglu >>> >>> Université Montesquieu Bordeaux IV >>> GREThA (UMR CNRS 5113) >>> Avenue Léon Duguit >>> 33608 Pessac cedex >>> France >>> >>> Bureau : E-331 >>> >>> mail: yildi-at-u-bordeaux4.fr >>> >>> web: yildizoglu.info >> > signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Problematic Version Control
Am 04.12.2013 um 23:46 schrieb Thomas Wirtz : > Hi Murat, > > Thank your for your advice and your link. > I can’t really say something about Xcode / Coda and if it affects the version > control system of LyX. I don’t use Git / SVN with Lyx - just the regular VC: > http://wiki.lyx.org/Mac/VersionControl > So it’s RCS. > > Fine to know, that LyX now supports Git / SVN. I will use that for future > projects, but of course now I would be really happy to recover my current VC > (RCS) .lyx,v file to have the full history back for use :) > > For the list, I added the two error messages to this e-mail: > https://dl.dropboxusercontent.com/u/1625441/error1.jpg > https://dl.dropboxusercontent.com/u/1625441/error2.jpg > > First error occurs when I try to „commit", and the second one when I try to > retrieve the history. Does this help? https://www.mail-archive.com/lyx-users@lists.lyx.org/msg97282.html Stephan > > Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu > : > >> Hi Thomas, >> >> I am not sure that I understand everything :-) I am not a big VC user >> myself, I am trying to get disciplined enough to be able to use it, but no >> avail. But, I am more or less following the evolution of the softs, and >> rather tempted to adopt git, now that Lyx can use it. >> Unfortunately, I cannot directly answer your questions. But I have found the >> following post by the editors of Coda, maybe their tricks could help you if >> you end up by using SVN with Lyx: >> >> http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn >> >> I also send my answer to the list, probably someone else, more competent >> than me could help you using the information you give below, in your message. >> >> Please keep us informed if you locate the source and the solution of your >> problem. >> >> Best regards, >> >> Murat >> >> >> >> >> 2013/12/4 Thomas Wirtz >> Hi Murat, >> >> Thanks for your quick reply. >> I’m using the native version control of Lyx which creates a .lyx,v file. So >> I think this is not SVN but simple version control, right? >> Nevertheless I reinstalled the command line tools of Xcode some time ago >> after Mavericks update - but when using SVN I am using the app „Versions“ >> and for eclipse I’m using subclipse for SVN support. >> >> I don’t know if those information is helping you getting to know what went >> wrong here - but is Lyx really using SVN for version control? >> >> >> Cheers, >> Thomas >> >> >> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu >> : >> >>> Hi Thomas, >>> Were you using the SVN version that comes with Xcode? If yes, have you >>> reinstalled the command line tools of Xcode? They are suppressed during the >>> installation of Mavericks if I remember well. Their reinstallation is >>> necessary if you need that SVN, or have not installed another one. If you >>> rather use Git, you can also install it yourself. Mavericks update has >>> deleted many things in my case (including the Oracle Java, for example). >>> >>> >>> 2013/12/4 Thomas Wirtz >>> Hi guys, >>> >>> I’ve a huge problem with my version control in an existing file and noticed >>> it now. >>> There may be a connection to the Mavericks update on OS X, but I’m not 100% >>> sure. >>> I’ve posted some screenshots of my errors here: >>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 >>> >>> I receive the error on both 2.0.6 and 2.1beta2. >>> >>> Can you tell me something about this error? How can I fix this? >>> >>> All the best, >>> Thomas >>> >>> >>> >>> -- >>> Prof. Murat Yildizoglu >>> >>> Université Montesquieu Bordeaux IV >>> GREThA (UMR CNRS 5113) >>> Avenue Léon Duguit >>> 33608 Pessac cedex >>> France >>> >>> Bureau : E-331 >>> >>> mail: yildi-at-u-bordeaux4.fr >>> >>> web: yildizoglu.info >> >> >> >> >> -- >> Prof. Murat Yildizoglu >> >> Université Montesquieu Bordeaux IV >> GREThA (UMR CNRS 5113) >> Avenue Léon Duguit >> 33608 Pessac cedex >> France >> >> Bureau : E-331 >> >> mail: yildi-at-u-bordeaux4.fr >> >> web: yildizoglu.info >
Re: Problematic Version Control
Thomas, I have never used RCS so I do not know what Lyx uses for this on Mac. But I read on the Wiki the following (http://wiki.lyx.org/Mac/VersionControl) : "LyX uses RCS <http://citeseer.ist.psu.edu/tichy91rcs.html> in order to implement version control. By default RCS is not installed on OS X (10.5 at least). It is however part of Xcode<http://developer.apple.com/tools/xcode/>. " So, if you depend on the version installed by Xcode, and if Xcode 5 has updated it to a new version, you could meet the same problems as the ones met by the Coda people using SVN (the version 1.7 installed by Xcode is not compatible with their repository created using an older version of SVN). The version I have with Xcode 5.2 on my laptop is RCS version 5.7 You can check yours by executing rcs -V in Terminal. I do not fully grok the messages in German, so I am just guessing here. More people could maybe help you if you translate the messages to English, I think. 2013/12/4 Thomas Wirtz > Hi Murat, > > Thank your for your advice and your link. > I can’t really say something about Xcode / Coda and if it affects the > version control system of LyX. I don’t use Git / SVN with Lyx - just the > regular VC: http://wiki.lyx.org/Mac/VersionControl > So it’s RCS. > > Fine to know, that LyX now supports Git / SVN. I will use that for future > projects, but of course now I would be really happy to recover my current > VC (RCS) .lyx,v file to have the full history back for use :) > > For the list, I added the two error messages to this e-mail: > https://dl.dropboxusercontent.com/u/1625441/error1.jpg > https://dl.dropboxusercontent.com/u/1625441/error2.jpg > > First error occurs when I try to „commit", and the second one when I try > to retrieve the history. > > > Cheers, > Thomas > > > Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu < > murat.yildizo...@u-bordeaux4.fr>: > > Hi Thomas, > > I am not sure that I understand everything :-) I am not a big VC user > myself, I am trying to get disciplined enough to be able to use it, but no > avail. But, I am more or less following the evolution of the softs, and > rather tempted to adopt git, now that Lyx can use it. > Unfortunately, I cannot directly answer your questions. But I have found > the following post by the editors of Coda, maybe their tricks could help > you if you end up by using SVN with Lyx: > > http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn > > I also send my answer to the list, probably someone else, more competent > than me could help you using the information you give below, in your > message. > > Please keep us informed if you locate the source and the solution of your > problem. > > Best regards, > > Murat > > > > > 2013/12/4 Thomas Wirtz > >> Hi Murat, >> >> Thanks for your quick reply. >> I’m using the native version control of Lyx which creates a .lyx,v file. >> So I think this is not SVN but simple version control, right? >> Nevertheless I reinstalled the command line tools of Xcode some time ago >> after Mavericks update - but when using SVN I am using the app „Versions“ >> and for eclipse I’m using subclipse for SVN support. >> >> I don’t know if those information is helping you getting to know what >> went wrong here - but is Lyx really using SVN for version control? >> >> >> Cheers, >> Thomas >> >> >> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu < >> murat.yildizo...@u-bordeaux4.fr>: >> >> Hi Thomas, >> Were you using the SVN version that comes with Xcode? If yes, have you >> reinstalled the command line tools of Xcode? They are suppressed during the >> installation of Mavericks if I remember well. Their reinstallation is >> necessary if you need that SVN, or have not installed another one. If you >> rather use Git, you can also install it yourself. Mavericks update has >> deleted many things in my case (including the Oracle Java, for example). >> >> >> 2013/12/4 Thomas Wirtz >> >>> Hi guys, >>> >>> I’ve a huge problem with my version control in an existing file and >>> noticed it now. >>> There may be a connection to the Mavericks update on OS X, but I’m not >>> 100% sure. >>> I’ve posted some screenshots of my errors here: >>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 >>> >>> I receive the error on both 2.0.6 and 2.1beta2. >>> >>> Can you tell me something about this error? How can I fix this? >>> >>> All the best, >>> Thomas >>> >> >> >> >> -- &
Re: Problematic Version Control
Hi Murat, Thank your for your advice and your link. I can’t really say something about Xcode / Coda and if it affects the version control system of LyX. I don’t use Git / SVN with Lyx - just the regular VC: http://wiki.lyx.org/Mac/VersionControl So it’s RCS. Fine to know, that LyX now supports Git / SVN. I will use that for future projects, but of course now I would be really happy to recover my current VC (RCS) .lyx,v file to have the full history back for use :) For the list, I added the two error messages to this e-mail: https://dl.dropboxusercontent.com/u/1625441/error1.jpg https://dl.dropboxusercontent.com/u/1625441/error2.jpg First error occurs when I try to „commit", and the second one when I try to retrieve the history. Cheers, Thomas Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu : > Hi Thomas, > > I am not sure that I understand everything :-) I am not a big VC user > myself, I am trying to get disciplined enough to be able to use it, but no > avail. But, I am more or less following the evolution of the softs, and > rather tempted to adopt git, now that Lyx can use it. > Unfortunately, I cannot directly answer your questions. But I have found the > following post by the editors of Coda, maybe their tricks could help you if > you end up by using SVN with Lyx: > > http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn > > I also send my answer to the list, probably someone else, more competent than > me could help you using the information you give below, in your message. > > Please keep us informed if you locate the source and the solution of your > problem. > > Best regards, > > Murat > > > > > 2013/12/4 Thomas Wirtz > Hi Murat, > > Thanks for your quick reply. > I’m using the native version control of Lyx which creates a .lyx,v file. So I > think this is not SVN but simple version control, right? > Nevertheless I reinstalled the command line tools of Xcode some time ago > after Mavericks update - but when using SVN I am using the app „Versions“ and > for eclipse I’m using subclipse for SVN support. > > I don’t know if those information is helping you getting to know what went > wrong here - but is Lyx really using SVN for version control? > > > Cheers, > Thomas > > > Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu > : > >> Hi Thomas, >> Were you using the SVN version that comes with Xcode? If yes, have you >> reinstalled the command line tools of Xcode? They are suppressed during the >> installation of Mavericks if I remember well. Their reinstallation is >> necessary if you need that SVN, or have not installed another one. If you >> rather use Git, you can also install it yourself. Mavericks update has >> deleted many things in my case (including the Oracle Java, for example). >> >> >> 2013/12/4 Thomas Wirtz >> Hi guys, >> >> I’ve a huge problem with my version control in an existing file and noticed >> it now. >> There may be a connection to the Mavericks update on OS X, but I’m not 100% >> sure. >> I’ve posted some screenshots of my errors here: >> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 >> >> I receive the error on both 2.0.6 and 2.1beta2. >> >> Can you tell me something about this error? How can I fix this? >> >> All the best, >> Thomas >> >> >> >> -- >> Prof. Murat Yildizoglu >> >> Université Montesquieu Bordeaux IV >> GREThA (UMR CNRS 5113) >> Avenue Léon Duguit >> 33608 Pessac cedex >> France >> >> Bureau : E-331 >> >> mail: yildi-at-u-bordeaux4.fr >> >> web: yildizoglu.info > > > > > -- > Prof. Murat Yildizoglu > > Université Montesquieu Bordeaux IV > GREThA (UMR CNRS 5113) > Avenue Léon Duguit > 33608 Pessac cedex > France > > Bureau : E-331 > > mail: yildi-at-u-bordeaux4.fr > > web: yildizoglu.info signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Problematic Version Control
Hi Thomas, I am not sure that I understand everything :-) I am not a big VC user myself, I am trying to get disciplined enough to be able to use it, but no avail. But, I am more or less following the evolution of the softs, and rather tempted to adopt git, now that Lyx can use it. Unfortunately, I cannot directly answer your questions. But I have found the following post by the editors of Coda, maybe their tricks could help you if you end up by using SVN with Lyx: http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn I also send my answer to the list, probably someone else, more competent than me could help you using the information you give below, in your message. Please keep us informed if you locate the source and the solution of your problem. Best regards, Murat 2013/12/4 Thomas Wirtz > Hi Murat, > > Thanks for your quick reply. > I’m using the native version control of Lyx which creates a .lyx,v file. > So I think this is not SVN but simple version control, right? > Nevertheless I reinstalled the command line tools of Xcode some time ago > after Mavericks update - but when using SVN I am using the app „Versions“ > and for eclipse I’m using subclipse for SVN support. > > I don’t know if those information is helping you getting to know what went > wrong here - but is Lyx really using SVN for version control? > > > Cheers, > Thomas > > > Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu < > murat.yildizo...@u-bordeaux4.fr>: > > Hi Thomas, > Were you using the SVN version that comes with Xcode? If yes, have you > reinstalled the command line tools of Xcode? They are suppressed during the > installation of Mavericks if I remember well. Their reinstallation is > necessary if you need that SVN, or have not installed another one. If you > rather use Git, you can also install it yourself. Mavericks update has > deleted many things in my case (including the Oracle Java, for example). > > > 2013/12/4 Thomas Wirtz > >> Hi guys, >> >> I’ve a huge problem with my version control in an existing file and >> noticed it now. >> There may be a connection to the Mavericks update on OS X, but I’m not >> 100% sure. >> I’ve posted some screenshots of my errors here: >> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 >> >> I receive the error on both 2.0.6 and 2.1beta2. >> >> Can you tell me something about this error? How can I fix this? >> >> All the best, >> Thomas >> > > > > -- > Prof. Murat Yildizoglu > > Université Montesquieu Bordeaux IV > GREThA (UMR CNRS 5113) > Avenue Léon Duguit > 33608 Pessac cedex > France > > Bureau : E-331 > > mail: yildi-at-u-bordeaux4.fr > > web: yildizoglu.info > > > -- Prof. Murat Yildizoglu Université Montesquieu Bordeaux IV GREThA (UMR CNRS 5113) Avenue Léon Duguit 33608 Pessac cedex France Bureau : E-331 mail: yildi-at-u-bordeaux4.fr web: yildizoglu.info
Re: Problematic Version Control
Hi Thomas, Were you using the SVN version that comes with Xcode? If yes, have you reinstalled the command line tools of Xcode? They are suppressed during the installation of Mavericks if I remember well. Their reinstallation is necessary if you need that SVN, or have not installed another one. If you rather use Git, you can also install it yourself. Mavericks update has deleted many things in my case (including the Oracle Java, for example). 2013/12/4 Thomas Wirtz > Hi guys, > > I’ve a huge problem with my version control in an existing file and > noticed it now. > There may be a connection to the Mavericks update on OS X, but I’m not > 100% sure. > I’ve posted some screenshots of my errors here: > http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 > > I receive the error on both 2.0.6 and 2.1beta2. > > Can you tell me something about this error? How can I fix this? > > All the best, > Thomas > -- Prof. Murat Yildizoglu Université Montesquieu Bordeaux IV GREThA (UMR CNRS 5113) Avenue Léon Duguit 33608 Pessac cedex France Bureau : E-331 mail: yildi-at-u-bordeaux4.fr web: yildizoglu.info
Problematic Version Control
Hi guys, I’ve a huge problem with my version control in an existing file and noticed it now. There may be a connection to the Mavericks update on OS X, but I’m not 100% sure. I’ve posted some screenshots of my errors here: http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332 I receive the error on both 2.0.6 and 2.1beta2. Can you tell me something about this error? How can I fix this? All the best, Thomas signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Version Control Problems
Christoph Weber wrote: > Hi everybody! > > I've some problems with RCS. > > I start using RCS with the "Register"-command. And the first version of my > file is registered, no error messages appear and the file is now > write-protected. > But the problem is, that all the other buttons stay inactive. I can't click > "Check Out for Edit" to edit the file again. > > Has anyone similar problems or knows how to solve them? it should just work. what is the version of RCS you use? can you provide detailed debug report what happens when you open the file? (view->view messages->settings->selected->version control->yes) pavel
Version Control Problems
Hi everybody! I've some problems with RCS. I start using RCS with the "Register"-command. And the first version of my file is registered, no error messages appear and the file is now write-protected. But the problem is, that all the other buttons stay inactive. I can't click "Check Out for Edit" to edit the file again. Has anyone similar problems or knows how to solve them? Best regards Christoph PS: I'm using Lyx Version 2.0.1 (Wednesday, 31 August 2011)
Re: pros & cons of using LyX's version control
Thank you for the replies, everyone. I will look into a couple of different options. It seems like the first step is to pick a version control system and then after see what options LyX provides. Best, Xu On Wed, Nov 9, 2011 at 8:15 AM, Vincent van Ravesteijn wrote: > Op 9-11-2011 13:51, Stephan Witt schreef: > > Am 09.11.2011 um 11:52 schrieb Vincent van Ravesteijn: >> >> Op 9-11-2011 2:22, Xu Wang schreef: >>> >>>> I'm considering using LyX's built-in version control support. Are there >>>> any drawbacks to using it? Do most people use it? What is the most popular >>>> alternative? >>>> >>> There is no built-in version control in LyX. We just offer easy >>> interaction with the version control that is installed on your system. >>> >>> We also don't want to implement a version control GUI or something like >>> that. There are other applications that are much better for that. You're >>> able to configure the version control support pretty much to use the >>> version control application of your choice. >>> >> Where? I'm not aware of that feature... >> > > You can redefine the menu entries using "vc-command". > > LFUN_VC_COMMAND >> >> * Action Executes external command. This command is intended to support >> additional VCS commands. >> >> * Syntax vc-command >> >> * Params : Flags for the command can be combined together.U - dUmmy >> - no flagsD - Doc - need document loaded to proceedI - dIrty - mark >> document dirtyR - Reload - ensure that the document is saved and reload it >> after command executionM - Message - ask for input string (commit >> message): path where to start. $$p will be replaced by the current >> document path.: command to execute. $$i/$$p/$$m will be replaced >> by the current document(with absolute path)/path/message. >> >> * Sample vc-command DR $$p "svn up" >> >> * Origin sanda, 13 Jan 2009 >> > > Vincent >
Re: pros & cons of using LyX's version control
Op 9-11-2011 13:51, Stephan Witt schreef: Am 09.11.2011 um 11:52 schrieb Vincent van Ravesteijn: Op 9-11-2011 2:22, Xu Wang schreef: I'm considering using LyX's built-in version control support. Are there any drawbacks to using it? Do most people use it? What is the most popular alternative? There is no built-in version control in LyX. We just offer easy interaction with the version control that is installed on your system. We also don't want to implement a version control GUI or something like that. There are other applications that are much better for that. You're able to configure the version control support pretty much to use the version control application of your choice. Where? I'm not aware of that feature... You can redefine the menu entries using "vc-command". LFUN_VC_COMMAND * Action Executes external command. This command is intended to support additional VCS commands. * Syntax vc-command * Params : Flags for the command can be combined together.U - dUmmy - no flagsD - Doc - need document loaded to proceedI - dIrty - mark document dirtyR - Reload - ensure that the document is saved and reload it after command executionM - Message - ask for input string (commit message): path where to start. $$p will be replaced by the current document path.: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message. * Sample vc-command DR $$p "svn up" * Origin sanda, 13 Jan 2009 Vincent
Re: pros & cons of using LyX's version control
Am 09.11.2011 um 11:52 schrieb Vincent van Ravesteijn: > Op 9-11-2011 2:22, Xu Wang schreef: >> I'm considering using LyX's built-in version control support. Are there any >> drawbacks to using it? Do most people use it? What is the most popular >> alternative? > > There is no built-in version control in LyX. We just offer easy interaction > with the version control that is installed on your system. > > We also don't want to implement a version control GUI or something like that. > There are other applications that are much better for that. You're able to > configure the version control support pretty much to use the version control > application of your choice. Where? I'm not aware of that feature... Stephan
Re: pros & cons of using LyX's version control
Op 9-11-2011 2:22, Xu Wang schreef: I'm considering using LyX's built-in version control support. Are there any drawbacks to using it? Do most people use it? What is the most popular alternative? There is no built-in version control in LyX. We just offer easy interaction with the version control that is installed on your system. We also don't want to implement a version control GUI or something like that. There are other applications that are much better for that. You're able to configure the version control support pretty much to use the version control application of your choice. Vincent
Re: pros & cons of using LyX's version control
On Wed, 09 Nov 2011 06:26:00 +0100 PhilipPirrip wrote: > > I'm considering using LyX's built-in version control support. Are > > there any drawbacks to using it? Do most people use it? What is the > > most popular alternative? > Now, I'm on TortoiseHg, a frontend to mercurial. +1 for Mercurial (which I use for all my version-control needs) or some other DVCS, according to your preference. Sincerely, Gour -- As the embodied soul continuously passes, in this body, from boyhood to youth to old age, the soul similarly passes into another body at death. A sober person is not bewildered by such a change. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: pros & cons of using LyX's version control
Am 09.11.2011 um 02:22 schrieb Xu Wang: > I'm considering using LyX's built-in version control support. Are there any > drawbacks to using it? Do most people use it? What is the most popular > alternative? > > Note that I'm on Linux. I don't have familiarity with SVN but I've been > meaning to learn it anyway for a while. Please note that LyX's built-in version control uses RCS when registering a new file for version control. At least this step has to be done with external tools. I'm using a combination of command line and LyX. The daily business ("check-out", "check-in", "compare" and "revert", "browsing the logs") is possible with LyX's built-in capabilities. Start a repository from scratch and adding documents and "children" or images is better done with command line tools. Please, consult the manual! It's described in the "Additional manual" (7.2 - AFAIK). Stephan
Re: pros & cons of using LyX's version control
On 11/09/2011 02:22 AM, Xu Wang wrote: I'm considering using LyX's built-in version control support. Are there any drawbacks to using it? Do most people use it? What is the most popular alternative? My first and only try was a year ago. I'd say that it's pretty limited. I miss the feature of a manager of my commits, for example. Now, I'm on TortoiseHg, a frontend to mercurial. Note that I'm on Linux. I don't have familiarity with SVN but I've been meaning to learn it anyway for a while.
pros & cons of using LyX's version control
I'm considering using LyX's built-in version control support. Are there any drawbacks to using it? Do most people use it? What is the most popular alternative? Note that I'm on Linux. I don't have familiarity with SVN but I've been meaning to learn it anyway for a while. Thank you, Xu
Re: Version Control undo undo last check in
Am 07.10.2011 um 14:45 schrieb Thomas Hesse: > Hello. > > I've inadvertently undo last check in (Version Control). > How can i undo this? I presume you're using RCS... then you'll need a backup of the rcs-file to restore the version you've deleted. Stephan
Version Control undo undo last check in
Hello. I've inadvertently undo last check in (Version Control). How can i undo this? Many thx effeksys
Re: Problem LyX Version Control
Waluyo Adi Siswanto wrote: > Pavel, one more question: > why you are asking "didn't you commit for example from a different box > before?" if you commit from another box1, you must first checkout in box2 before committing from box2, thats all... with the gnome-keyring i have no experience, but you already found your way... pavel
Re: Problem LyX Version Control
On 13 November 2010 19:42, Waluyo Adi Siswanto wrote: >> >> there can be many different problems what's wrong. the best is to go to >> console, >> and try to commit from there and look what will happen. >> didn't you commit for example from a different box before? >> > > Yes, the first I found the problem was from Windows machine, I thought > LyX version control doesn't work from Windows, but when I tried from > Ubuntu, the same problem until now. > Committing from both TortoiseSVN(Windows) and SVN Workbench(Ubuntu) work fine. > I never commit from command line from terminal. > > Any suggestion for me to fix it? > SOLVED: I did googling and found https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/473139 One of the solutions is rm ~/.gnome2/keyrings/login.keyring Now, I can commit my lyx project from within LyX version control..again. Pavel, one more question: why you are asking "didn't you commit for example from a different box before?" Would it be the main reason? Thanks and regards waluyo
Re: Problem LyX Version Control
> > there can be many different problems what's wrong. the best is to go to > console, > and try to commit from there and look what will happen. > didn't you commit for example from a different box before? > Yes, the first I found the problem was from Windows machine, I thought LyX version control doesn't work from Windows, but when I tried from Ubuntu, the same problem until now. Committing from both TortoiseSVN(Windows) and SVN Workbench(Ubuntu) work fine. I never commit from command line from terminal. Any suggestion for me to fix it? Thanks in advance. regards waluyo