Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317612

Summary: Error in annotation if there are specified revisions
Product: [Technology] Subversive Reporter: David M. Karr <davidmichaelkarr>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dugueperoux.esteban
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David M. Karr CLA 2010-06-22 12:13:41 EDT
Following this is the auto-generated report.

I've used "Show Annotation" numerous times, but I've never tried changing the revision range from 1-HEAD.  If I change the start revision from anything but "1", I get the error that follows this.  I selected the revision from the Browse dialog, and it is the revision previous to the HEAD, in this case.  I've tested this several times, and it fails the same way each time.

------------------------
Version:	0.7.9.I20100512-1900

SVN Client:	org.eclipse.team.svn.connector.svnkit 2.2.2.I20100512-1900 SVN/1.4.5 SVNKit/1.1.7 (http://svnkit.com/) r4142

JVM Properties:
{java.runtime.name=Java(TM) SE Runtime Environment, java.runtime.version=1.6.0_20-b02, java.vendor=Sun Microsystems Inc., line.separator=
 , java.class.version=50.0, os.name=Windows XP, os.arch=x86, user.country=US, os.version=5.1, eclipse.commands=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\eclipseOEPEGalileo\eclipse\eclipse.exe -name Eclipse --launcher.library C:\eclipseOEPEGalileo\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll -startup C:\eclipseOEPEGalileo\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -exitdata 28c_40 -showlocation -vm c:/jdk1.6.0_20/bin/javaw.exe , java.version=1.6.0_20, osgi.framework.version=3.5.2.R35x_v20100126, file.separator=\, java.vm.info=mixed mode, path.separator=;, user.timezone=America/Los_Angeles, user.language=en, java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252}

java.lang.IllegalArgumentException: Negative revision numbers are not allowed
java.lang.IllegalArgumentException: Negative revision numbers are not allowed
	at org.eclipse.team.svn.core.connector.SVNRevision.fromNumber(SVNRevision.java:243)
	at org.eclipse.team.svn.ui.annotate.BuiltInAnnotate$1.runImpl(BuiltInAnnotate.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:95)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:95)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:39)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55)
	at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Igor Burilo CLA 2010-07-28 04:15:20 EDT
Fixed
Comment 2 Alexander Gurov CLA 2010-12-11 02:39:10 EST
*** Bug 327888 has been marked as a duplicate of this bug. ***