Need to add selected singleton to revisions. (FELIX-2986)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1165716 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/StatefulResolver.java b/framework/src/main/java/org/apache/felix/framework/StatefulResolver.java
index deb49e6..6f85a59 100644
--- a/framework/src/main/java/org/apache/felix/framework/StatefulResolver.java
+++ b/framework/src/main/java/org/apache/felix/framework/StatefulResolver.java
@@ -1119,6 +1119,7 @@
                                 m_fragments.add(selected);
                             }
                             indexCapabilities(selected);
+                            m_revisions.add(selected);
                         }
                         else
                         {