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

[patch] Fix for JavaHL copy sources bug reported by Alexander Kitaev

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: Fri, 20 Jun 2008 14:37:44 -0700

oka reported this today on IRC. He mentioned that he'd have a chance
to test it out over the weekend. We could use some improved test coverage
here, not necessarily for the deprecated API in this patch, but for the
various permutations of CopySource usage in general.

oka, if this patch works out for you, please expand on the summary of my
change log message, as it doesn't properly capture the use cases involved
here. Assuming this works out, I'll propose it for backport to 1.5.1.

-- 
Daniel Rall
[[[
JavaHL: Fix bug in handling of peg revisions for copy sources.
[ subversion/bindings/javahl/ ]
* native/CopySources.cpp
  (CopySources::array): Set peg revision from the peg revision passed in from
    Java, rather than from the revision passed in.
* src/org/tigris/subversion/javahl/SVNClient.java
  (copy): Pass null in lieu of Revision.HEAD for the copy source to handle
    sources which are WC paths @ WC revs.
]]]

  • application/pgp-signature attachment: stored
Received on 2008-06-20 23:38:02 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.