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

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

From: Rainer Koschnick <rainerk_at_ebuconnect.de>
Date: 2007-09-11 11:34:37 CEST


just noticed that SVNStatusUtils.isReadyForCommit() returns true for a
folder which is not part of my working copy.

public static boolean isReadyForCommit(ISVNStatus status) {
     return isTextModified(status) || isAdded(status) ||
isDeleted(status) || isReplaced(status) || isPropModified(status)
  || isTextConflicted(status) || isPropConflicted(status) ||
(!isManaged(status) && !isIgnored(status));

I think the problem is the last OR which should probably be an AND.

|| (!isManaged(status) && !isIgnored(status))


&& (!isManaged(status) && !isIgnored(status))

What do you think?


To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Sep 11 11:37:24 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.