View | Details | Raw Unified | Return to bug 21036 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ccvs/core/util/AddDeleteMoveListener.java (+9 lines)
Lines 217-222 Link Here
217
					} catch (TeamException e) {
217
					} catch (TeamException e) {
218
						CVSProviderPlugin.log(e.getStatus());
218
						CVSProviderPlugin.log(e.getStatus());
219
					}
219
					}
220
					// if this is a move, map a new provider
221
					if (delta.getKind() == IResourceDelta.ADDED && (delta.getFlags() & IResourceDelta.MOVED_FROM) > 0) {
222
						try {
223
							RepositoryProvider.unmap(resource.getProject());
224
							RepositoryProvider.map(resource.getProject(), provider.getID());
225
						} catch (TeamException e) {
226
							CVSProviderPlugin.log(e.getStatus());
227
						}
228
					}
220
				}
229
				}
221
				
230
				
222
				// if a project is moved the originating project will not be associated with the CVS provider
231
				// if a project is moved the originating project will not be associated with the CVS provider

Return to bug 21036