Hello Karl,
It must be fixed in trunk in revision 3180. You always can
get a nightly
build from https://teamcity.svnkit.c
om (follow artifacts link for
svnkit.trunk project). If something keeps on going wrong,
please, report
it to us. Thank you!
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java
[Sub]Versioning Library!
Karl Heinz Marbaise wrote:
> Dear Sirs,
>
> i have created a program using the SVNKit library which
will analyze log
> entries of a repository.
>
> But i have made the experience that the following part
of my application
> is behaving differently if i use the http protocol or
the file protocol:
>
> The relevant code part:
> ----------------------- START
-------------------------
> private static void doTheBlame(String url, long
startRevision,
> ISVNAuthenticationManager authManager) throws
SVNException {
> SVNLogClient logClient =
getClientManager(authManager).getLogClient();
> ISVNAnnotateHandler handler = new
SVNHistory();
>
> SVNRevision zero =
SVNRevision.create(startRevision);
> SVNRevision start =
SVNRevision.create(startRevision);
> SVNRevision end =
SVNRevision.create(startRevision);
> try {
> System.out.println("Checking file: "
+ repositoryURL + url);
>
logClient.doAnnotate(SVNURL.parseURIEncoded(repositoryURL +
> url), zero, start, end, false, handler, null);
> } catch (SVNException e) {
> if (e.getMessage() != null &&
> e.getMessage().indexOf("binary") >= 0) {
> System.out.println("Skipping
binary file: '" + url + "'");
> } else {
> throw e;
> }
> }
> }
> ----------------------- STOP -------------------------
> If i use the file protocol to access the repository as
with http the
> doAnnotate does not produce an SVNException with the
"binary" word in there.
>
> I have to assume that i should check the properties of
the file to
> figure out if the particular file is binary or not but
this seemed to be
> getting much faster...
>
> My opinion is that there should no difference in
behaviour if i use file
> or http protocol.
>
>
> So my question is this a Bug in your opinion ?
>
> Thanks in advance for your help..
>
> Kind regards
> Karl Heinz Marbaise
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribe svnkit.com
For additional commands, e-mail: svnkit-users-help svnkit.com
|