[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] SVNStatusUtils.isReadyForCommit() returns true for unversioned resources?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-09-11 14:52:29 CEST

On 9/11/07, Rainer Koschnick <rainerk@ebuconnect.de> wrote:
> the Javadoc shows the following:
> /**
> * Answer whether the status is "outgoing", i.e. whether resource
> with such status could/should be commited
> * @param status
> * @return true when the status represents "outgoing" state
> */
> and I don't think that an unversioned folder has an outgoing state and
> could actually be committed (it needs to be added first) so either the
> method name and the description are misleading or the implementation is
> wrong.
> I use it to find modified files for a commit dialog and as is it's not
> of much use. I'll probably just write my own I guess :)

I guess you'll have to then. Subclipse wants unversioned items to
show in its commit dialog which is why they are included in this
method. It is just a helper method, create your own with the logic
you want.

Mark Phippard
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Sep 11 14:49:01 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.