Subclipse- update working copy

2019-07-16 02:46发布

问题:

I work on my school projects on two machines- my laptop and desktop. Recently I've started using subclipse for version control, and have it plugged in Eclipse on both machines.

While working on a single machine, I understand the checkout/commit process and synchronizing in the Team Synchronizing tab.

So, how do I update the working copy of the other machine in subclipse without having to checkout and overwrite the entire project on the local machine?

回答1:

Right click on the project and select

Team->update

.



回答2:

I believe it is Team > Upgrade



回答3:

As far as I understand, Subversion and CVS require you to have a server that hosts the repository. Then from any remote machine you checkout from and commit to this central repository. Wherever you host the main repository (you'll probably do it on your desktop?), you should checkout a copy on both your laptop and the desktop. Then you have: Working copy on your laptop, working copy on your desktop, and central repository on, e.g., your desktop.

This should solve your synchronization issues.

However: For your problem at hand, I strongly recommend looking into Git, another nice version control system that does not require a centralized host: All checkouts are treated equally, so you make changes on your laptop and push them to the desktop, or you make changes on your desktop and push them to the laptop, or you pull changes from the laptop to the desktop and vice versa.