[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: Zack Grossbart <zgrossbart_at_novell.com>
Date: 2007-01-20 15:06:28 CET

Hello Alexander,

Thank you very much for the help. I was misunderstanding the nature of the
getTextStatus and getPropStatus methods. I thought they both got the same data
in different forms. Just being silly. It all works for me now.

Thanks again,
Zack

> -----Original Message-----
> From: Alexander Kitaev [mailto:Alexander.Kitaev@svnkit.com]
> Sent: Saturday, January 20, 2007 8:19 AM
> To: users@subclipse.tigris.org
> Subject: Re: [Subclipse-users] Trouble with svnClientAdapter and Prop
> Status
>
>
> 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
>

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