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

JavaHL: Writing unified diff to file hangs for changes to svn:ignore

From: Wjatscheslaw Talanow <Wjatscheslaw.Talanow_at_ascon-systems.de>
Date: Thu, 16 May 2019 07:12:30 +0000

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/>

Received on 2019-05-16 09:21:55 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.