Feature request - workspace mirroring and the svn.

Discussion about CodeLite development process and patches
pholonow
CodeLite Curious
Posts: 4
Joined: Tue Jul 22, 2014 12:51 pm
Genuine User: Yes
IDE Question: C++
Contact:

Feature request - workspace mirroring and the svn.

Post by pholonow » Tue Jul 22, 2014 7:59 pm

Hi!
While working with CodeLite I have noticed that when I update sources from the svn, they are not updated at the remote server automatically. Therefore every time I update the sources, I need to open all the files that have been updated, "touch" them via inserting and deleting a space (so the file is modified) and then save them - only then the files will be updated at the remote server too. I can also use "svn update" at the remote server. Both ways are a bit inconvenient. Could this be fixed in the future releases?

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request - workspace mirroring and the svn.

Post by eranif » Wed Jul 23, 2014 3:05 pm

Just to be clear:
- You have setup a workspace mirroring using the SFTP plugin
- When you do 'svn update' on the local machine, the remote machine is not updated.

Am I correct?
Correct me if I am wrong here, but the easiest solution is to run svn update on the remote machine as well, no?

Eran
Make sure you have read the HOW TO POST thread

pholonow
CodeLite Curious
Posts: 4
Joined: Tue Jul 22, 2014 12:51 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request - workspace mirroring and the svn.

Post by pholonow » Wed Jul 23, 2014 6:30 pm

Yes Eran, you are correct. Indeed, the easiest solution is to run "svn update" on the target machine. However, if I forget to do this (eg. I am in hurry) and I change the sources, when I do the "svn update" later on the target, I usually get conflicts. It is quite inconvenient.

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request - workspace mirroring and the svn.

Post by eranif » Wed Jul 23, 2014 9:57 pm

Maybe the correct solution is to prompt the user after running 'svn update' on the local machine
to make sure he runs it on the remote machine as well

Eran
Make sure you have read the HOW TO POST thread

Post Reply