From 64257e427ce2e32e34c99171f5acbfd6e49efbb8 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Tue, 28 May 2013 15:08:11 -0400 Subject: [PATCH] Test case and comment fixes #760. The actual fix was introduced in 6d5d641dd718e2cf718d130e8571792cd7a9d84e. --- ivy/src/main/scala/sbt/Ivy.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/ivy/src/main/scala/sbt/Ivy.scala b/ivy/src/main/scala/sbt/Ivy.scala index a938087fd..5d30520da 100644 --- a/ivy/src/main/scala/sbt/Ivy.scala +++ b/ivy/src/main/scala/sbt/Ivy.scala @@ -314,6 +314,7 @@ private object IvySbt // the common case is for resolved.getArtifactResolver to be inter-project from a different project's publish-local // if there are problems with this, a less aggressive fix might be to only reset the artifact resolver when it is a ProjectResolver // a possible problem is that fetching artifacts is slower, due to the full chain being the artifact resolver instead of the specific resolver + // This also fixes #760, which occurs when metadata exists in a repository, but the artifact doesn't. private[this] def resetArtifactResolver(resolved: ResolvedModuleRevision): ResolvedModuleRevision = if(resolved eq null) null