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

[Subclipse-users] svnClientAdapter - Determining if a Directory Needs Updates

From: Zack Grossbart <zgrossbart_at_novell.com>
Date: 2007-03-09 22:02:19 CET

Hello,

This is an svnClientAdapter question.

I am trying to programmatically determine if files and folders have updates
available on the Subversion server svnClientAdapter. When I am handling an
individual file I can compare the last changed revision of the ISVNInfo object
from the server to the revision of the ISVNStatus of the local file. If the
server info has a greater revision number than the local file then there are
updates available.

However, I'm having more of a problem with directories. When I look at the
revision of the ISVNStatus object for a directory it is always less than the
revision of the ISVNInfo object from the server. The last changed revision for
directories appears to be associated with the last changed revision of the
oldest file in that directory. It sort of feels like I'm missing something and
there should be a better way to do this. Am I doing this the best way possible?
Is there something better I should be doing?

Thank you very much for the help,
Zack

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Mar 9 22:03: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.