Problems with SVNStatusClient.doStatus(File, boolean)

View: New views
2 Messages — Rating Filter:   Alert me  

Problems with SVNStatusClient.doStatus(File, boolean)

by Domsch, Christian (IZLBW Extern) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I do have a very strange problem when I want to get the status of a new unversioned file. We are running a 1.5.6 subversion server using https. Our application has a client-server architecture where the client and servers both use scripts where certain svn operations are performed.
The clients all run Windows XP, our server is a SLES 10 linux with x64 architecture. Both use a JDK 1.5.0_16. The svnkit version is 1.2.3.

When the client adds a new file in a versioned directory the status call for this new file acts as expected, the call returns a SVNStatus object. When the server does the except same thing, sometimes the call to doStatus() returns null for new files. And it even gets better :) In these scripts multiple doStatus calls are performed, and after a certain amount of calls the doStatus() returns a correct SVNStatus object.

My question now is which situations can cause the doStatus method to return null for new files in a versioned directory? I assume that this should normally not happen so it seems that something is not correct, maybe the svn metainformation or something different.


Mit freundlichen Grüßen
Christian Domsch

Softwareentwickler Extern
Informatikzentrum Landesverwaltung Baden-Württemberg (IZLBW)
Abteilung 3 - EBZI
Bereich Landwirtschaft, Naturschutz

Stuttgarter Str. 161
D-70806 Kornwestheim
Telefon: +49 7154 139-320
E-Mail: Christian.Domsch@...



---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: Problems with SVNStatusClient.doStatus(File, boolean)

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Christian,

Can you please try the latest build of SVNKit from the 1.3.x project
configuration on our teamcity server (https://teamcity.svnkit.com/).
Go to artifacts->deploy location to get binaries. Try doStatus() on the
64 bit linux with those new jars in use. If the strange behavior does
not disappear, try using SVNKit without JNA.

Also svnkit debug logs could be useful for investigating the problem.
Please, read this article https://wiki.svnkit.com/Troubleshooting on how
  to enable debug logs.

Looking forward to hear new results from you, thank you.
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Domsch, Christian (IZLBW Extern) wrote:

> Hi,
>
> I do have a very strange problem when I want to get the status of a new unversioned file. We are running a 1.5.6 subversion server using https. Our application has a client-server architecture where the client and servers both use scripts where certain svn operations are performed.
> The clients all run Windows XP, our server is a SLES 10 linux with x64 architecture. Both use a JDK 1.5.0_16. The svnkit version is 1.2.3.
>
> When the client adds a new file in a versioned directory the status call for this new file acts as expected, the call returns a SVNStatus object. When the server does the except same thing, sometimes the call to doStatus() returns null for new files. And it even gets better :) In these scripts multiple doStatus calls are performed, and after a certain amount of calls the doStatus() returns a correct SVNStatus object.
>
> My question now is which situations can cause the doStatus method to return null for new files in a versioned directory? I assume that this should normally not happen so it seems that something is not correct, maybe the svn metainformation or something different.
>
>
> Mit freundlichen Grüßen
> Christian Domsch
>
> Softwareentwickler Extern
> Informatikzentrum Landesverwaltung Baden-Württemberg (IZLBW)
> Abteilung 3 - EBZI
> Bereich Landwirtschaft, Naturschutz
>
> Stuttgarter Str. 161
> D-70806 Kornwestheim
> Telefon: +49 7154 139-320
> E-Mail: Christian.Domsch@...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...