Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360144 - Unable to use a review group embedded within an existing git repository
Summary: Unable to use a review group embedded within an existing git repository
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346744
  Show dependency tree
 
Reported: 2011-10-06 14:00 EDT by Jacques Bouthillier CLA
Modified: 2013-01-28 17:29 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-10-06 14:00:06 EDT
To reproduce:
Map the new repository (R4E Review ) in git to the R4E group. When pressing "Apply", it generates the error


java.lang.IllegalStateException: Repository already exists: C:\git\r4eSecond\r4e\Reviews_execution\R4Eclipse\ReviewsRepo.git
	at org.eclipse.jgit.storage.file.FileRepository.create(FileRepository.java:239)
	at org.eclipse.mylyn.reviews.r4e.core.rfs.ReviewsRFSProxy.initializeRepo(ReviewsRFSProxy.java:109)
	at org.eclipse.mylyn.reviews.r4e.core.rfs.ReviewsRFSProxy.<init>(ReviewsRFSProxy.java:71)
	at org.eclipse.mylyn.reviews.r4e.core.model.serial.impl.RModelFactoryExtImpl.checkOrCreateRepo(RModelFactoryExtImpl.java:127)
	at org.eclipse.mylyn.reviews.r4e.core.model.serial.impl.RModelFactoryExtImpl.openR4EReviewGroup(RModelFactoryExtImpl.java:164)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.model.R4EUIModelController.loadReviewGroups(R4EUIModelController.java:368)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.navigator.ReviewNavigatorView.preferenceChange(ReviewNavigatorView.java:639)
	at org.eclipse.core.internal.preferences.EclipsePreferences$2.run(EclipsePreferences.java:754)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:757)
	at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:770)
	at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:789)
	at org.eclipse.jface.preference.ListEditor.doStore(ListEditor.java:250)
	at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:680)
	at org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(FieldEditorPreferencePage.java:343)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.preferences.R4EPreferencePage.performOk(R4EPreferencePage.java:683)
	at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:964)
Comment 1 Sebastien Dubois CLA 2013-01-24 16:46:43 EST
Using a git repository to store R4E metadata is not supported for now.  However, it will need to be when we implement the storing of the metadata on the Gerrit server.
Comment 2 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn