federationSets.addAll(repository.federationSets);\r
}\r
repository.federationSets = new ArrayList<String>(federationSets);\r
+ \r
+ // merge indexed branches\r
+ Set<String> indexedBranches = new HashSet<String>();\r
+ if (rm.indexedBranches != null) {\r
+ indexedBranches.addAll(rm.indexedBranches);\r
+ }\r
+ if (repository.indexedBranches != null) {\r
+ indexedBranches.addAll(repository.indexedBranches);\r
+ }\r
+ repository.indexedBranches = new ArrayList<String>(indexedBranches);\r
+\r
}\r
// only repositories that are actually _cloned_ from the origin\r
// Gitblit repository are marked as federated. If the origin\r