Re: Need a little help with version control

2021-02-12 Thread list_email

> 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-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

1. and 2. I upgraded LyX from 2.3.2 to 2.3.6.2 Legacy. (Thanks for Legacy, 
devs!) svn binary is in path. Same behavior.
3. Message pane reports " svn: This client is too old to work with working copy 
'.'; please get a newer Subversion client”

I’ll 

Re: Need a little help with version control

2021-02-12 Thread Stephan Witt
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: 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
> 
> 1. and 2. I upgraded LyX from 2.3.2 to 2.3.6.2 Legacy. (Thanks for Legacy, 
> devs!) 

Re: Need a little help with version control

2021-02-12 Thread list_email
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

2021-02-12 Thread Dr Eberhard Lisse
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

2021-02-10 Thread list_email

> 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

2021-02-10 Thread Stephan Witt
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-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

2021-02-10 Thread Dr Eberhard Lisse
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


Re: Need a little help with version control

2021-02-09 Thread Stephan Witt
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