Page 1 of 1

How to update the source

PostPosted: Tue Feb 15, 2011 6:22 pm
by Hans Nieuwenhuis
Hi,

I am rather new to Svn.
I wonder, after I unchecked al the folders in the trhunk and used that for a certain period.

How do I update my workspace with the lates changes made by Servoy

Regards,

Re: How to update the source

PostPosted: Tue Feb 15, 2011 6:41 pm
by ROCLASI
Hi Hans,

Sounds like you mix up some terminology here which makes it hard to understand what you exactly mean :) .

So you checked out the source from SVN into your workspace which lives on your local filesystem ?
And now you made some changes to this local copy (in your workspace) and want to commit them back to the SVN repository, is this correct?
You can simply right-click on the active solution node and select Team > Commit.

Of course if you share the SVN with another developer then you want to check first if there are no conflicts so you should synchronize with the repository first (Right-click > Team > Synchronize with Repository).
This does nothing more than checking what the differences are and shows you what they are.

After this you can commit the changed (black arrow icons) code from the Synchronize view that came up after the synchronize.
If there was new or changed code (blue arrow icons) in the SVN repository then you want to update your local copy (in your workspace). You simply right-click again on those nodes > Team > Update).

When you have red double arrow icons (<->) then you need to resolve a conflict first before you can commit.

Hope this helps.

Re: How to update the source

PostPosted: Tue Feb 15, 2011 6:51 pm
by Hans Nieuwenhuis
Hi Robert,

I am sure I mix up some terminology. ( I going to read some more on Svn ).

What I mean is :

- I have checked out the Servoy source from SVN into my workspace (https://subversion.servoy.com/product/trunk)

- Next someone at Servoy makes a change or fixes a case.

- Now I want to update my workspace with these changes from Servoy.

- I gues I am looking for something like " Synchronise workspace with Servoy Repository"

At this moment I deleted everything in my workspace and did a new checkout.
That works for me, but can't be the way to do it.

Thanks for Your patience ...

Re: How to update the source

PostPosted: Tue Feb 15, 2011 6:58 pm
by ROCLASI
Hi Hans,

Hans Nieuwenhuis wrote:- I gues I am looking for something like " Synchronise workspace with Servoy Repository"


Correct. Then you will see all the changes in the Synchronize view and can select wich one you want to update your local copy with.
If you never altered your local copy then you could skip the synchronize action and just select to update.

Hope this helps.

Re: How to update the source

PostPosted: Tue Feb 15, 2011 8:17 pm
by pbakker
Hi Hans,

Just select all the checked-out projects, right-click the selection and then select team > Update

Paul

Re: How to update the source

PostPosted: Tue Feb 15, 2011 10:41 pm
by Hans Nieuwenhuis
Hi Paul,

In my eclipse installation ( Helios ) I think it is called "Update to Head".

I use it mainly to check cases that are fixed.

The fix is inmediately included in the source. Else I would have to wait for the next reelase to test it.

Thanks again,