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

Re: [Subclipse-users] Issue with AbstractJhlClientAdapter.getContent

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 30 Apr 2008 13:11:31 -0400

On Wed, Apr 30, 2008 at 2:01 PM, Zack Grossbart <zgrossbart_at_novell.com> wrote:

> I have been using the getContent method on ISVNClientAdapter in the
> svnClientAdapter package and I have found an issue. This method takes
> either a file or an URL and a revision. The one which takes a URL then
> always uses HEAD for the peg revision. This will fail if the file doesn't
> exist in the latest revision. This is pretty common if you are trying to
> get the contents of a file which existed as one time and has been deleted.
>
> I have added a new method which allows the caller to specify the peg
> revision. I have attached the file. Does this seem like a good change? Am
> I totally off base here? I am using a slightly older version of
> svnClientAdapter. This may have already been fixed.

getContent exposes a pegRevision argument in trunk version.

> By the way, is this still the right version to use? Should I upgrade?

It is the right version for SVN 1.4 support. Trunk is tied to SVN 1.5.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-04-30 19:11:41 CEST

This is an archived mail posted to the Subclipse Users mailing list.

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