Hi everyone,

since I have not received any replies yet, I'd like to ask if the request has 
reached you.
And I forgot to mention that this issue cannot be reproduced with the command 
line interface.
The discussion about this issue can be found in the archives of the IRC 
channel: https://colabti.org/irclogger/irclogger_log/svn?date=2019-05-15

Best regards

Wjatscheslaw Talanow

ASCon Systems GmbH
www.ascon-systems.de<http://www.ascon-systems.de/>

Von: Wjatscheslaw Talanow
Gesendet: Donnerstag, 16. Mai 2019 09:12
An: 'dev@subversion.apache.org' <dev@subversion.apache.org>
Betreff: JavaHL: Writing unified diff to file hangs for changes to svn:ignore

Hello everyone,

after discussing the issue on the users@ IRC channel without success, I've 
decided to post this question to dev@.

Server operating system: linux (no distribution information available)
SVN-Server:              1.9.5 (r1770682)
Client Operating system: Microsoft Windows 10 Pro, Version 10.0.17763
SVN-Client:              JavaHL 1.10.4 (built under 
https://github.com/subclipse/javahl-windows/tree/1.10.4)

I have created a basic batch 
script<https://github.com/subclipse/subclipse/files/2960969/generate_repository.txt>
 for Windows (since the problem seems to be with JavaHL on Windows 10) 
generating a local SVN repository on which the problem can be reproduced. Just 
rename the attached file to generate_repository.bat, change the variables to 
the paths you see fit and run it.
The generated repository looks like this:

repository
   + branches
      + test
         + project
   + trunk
      + project

Calling

org.apache.subversion.javahl.ISVNClient.diff(
   String target,
   Revision pegRevision,
   Revision startRevision,
   Revision endRevision,
   String relativeToDir,
   OutputStream outStream,
   Depth depth,
   Collection<String> changelists,
   boolean ignoreAncestry,
   boolean noDiffDeleted,
   boolean force,
   boolean copiesAsAdds,
   boolean ignoreProps,
   boolean propsOnly)

with the following parameters

SVNClient.diff(
   "file:///D:/Development/SVN/Repositories/test/branches/test/project",
   Revision.HEAD,
   4,
   5,
   null,
   outputStream,
   Depth.empty,
   null,
   true,
   false,
   false,
   true,
   false,
   false)

on the created repository results in 100% CPU core usage and the call never 
terminates.

The issue was also filed at https://github.com/subclipse/subclipse/issues/95.

Could you please file a bug entry in subversion JIRA for this issue?
Thanks in advance.

Best regards

Wjatscheslaw Talanow

ASCon Systems GmbH
www.ascon-systems.de<http://www.ascon-systems.de/>

Reply via email to