Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Subclipse SVN Check In
Subclipse SVN Check In [message #774246] Tue, 03 January 2012 15:26 Go to next message
Michael Beatty is currently offline Michael BeattyFriend
Messages: 43
Registered: November 2011
Member
I have installed the Subclipse Source Control Plugin, and all seems to be working fine. But there is one thing I cannot seem to figure out, that being how to check a file in? As it stands now, my system will allow me to edit a file at any given time, there seems to be no way for me to lock a file so that it is read only.

How do I "check in" a file so that other users (and myself) cannot edit it.
Re: Subclipse SVN Check In [message #774276 is a reply to message #774246] Tue, 03 January 2012 16:16 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Jan-12 08:26, Michael Mising name wrote:
> I have installed the Subclipse Source Control Plugin, and all seems to
> be working fine. But there is one thing I cannot seem to figure out,
> that being how to check a file in? As it stands now, my system will
> allow me to edit a file at any given time, there seems to be no way for
> me to lock a file so that it is read only.
> How do I "check in" a file so that other users (and myself) cannot edit it.

Unless I've misunderstood what you're saying, the answer is that this is
not how Subversion works traditionally.

One checks out new source code locally (svn co), updates that source
code locally whenever someone else has changed it (svn update), and
modifies it without "reserving" it in any way whereupon one commits any
changes made (svn commit). If someone has in the meantime edited and
committed the same file, one must merge changes with what was committed.

Since Subversion 1.2, it has been possible to set an "svn:needs-lock"
property on a given file to restrict it from being edited (and it gets
checked out read-only). Then, you can (must) use svn lock, made edits
and finally commit the file.

I don't know that Subclipse supports this functionality, not having used
it myself.

I hope this reponse has not been a total waste of your time. There is a
specific Eclipse tools subversive forum in which you could ask this
question even though subclipse and subversive are not the same time, but
that forum is full of (much more) knowledgeable respondants (than I).
Previous Topic:share workspace into dropbox between two computers
Next Topic:Installs from Eclipse Marketplace are extremely slow or hang
Goto Forum:
  


Current Time: Sat Apr 20 02:58:19 GMT 2024

Powered by FUDForum. Page generated in 0.08621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top