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

Re: [Subclipse-users] Trouble with svnClientAdapter and Prop Status

From: Alexander Kitaev <Alexander.Kitaev_at_svnkit.com>
Date: 2007-01-20 14:18:31 CET

Hello Zack,

> ISVNStatus status = clientAdapter.getSingleStatus(myFile);
> System.out.println("props: " + status.getPropStatus());
Properties status could be "normal", even when file _content_ is
modified or in a conflict state. State of file's content and properties
are more or less independent in Subversion. So, instead of calling just
getPropStatus(), call both getPropStatus() and getTextStatus().

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zack Grossbart wrote:
> Hello,
>
> I'm using svnClientAdapter and SVNKit from within an Eclipse plugin. I am
> getting an ISVNStatus object from the client adapter with code that looks like:
>
> ISVNStatus status = clientAdapter.getSingleStatus(myFile);
> System.out.println("props: " + status.getPropStatus());
>
> I always get a normal status even if the file has been modified or is in
> conflict. I can see the correct status by using the svn status command on the
> command line, but it is always normal when I make the call from Java. I'm using
> the latest versions of everything. Has anyone seen this behavior? Is there
> something I am neglecting to setup?
>
> Thank you,
> Zack
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Jan 20 14:18:58 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.