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

Re: [Subclipse-users] SVNRevision

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-09-22 21:54:11 CEST

Del Myers <delmyers.cs@gmail.com> wrote on 09/22/2006 03:48:21 PM:

> I just need to get the revision number. The error came along while I was
doing
> the following:
>
> First, I got an ISVNLocalResource svnProject from an IProject, then:
>
> ISVNRemoteResource remote = svnProject.getRemoteResource();
> ISVNRevision revision = remote.getRevision();
>
> That's it. The revision that I got was SVNRevision.HEAD. What I really
want is
> the number.

What is svnProject? How did you get it?

There is nothing that is going to take a local resource and go and get the
current remote version of it. Or at least we do not have anything like
that in Subclipse that I can think of.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Sep 22 21:54:20 2006

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.