Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 1606 Details for
Bug 21036
RepositoryProvider.project stale if project renamed/moved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to fix problem
patch21036.txt (text/plain), 1.16 KB, created by
Michael Valenta
on 2002-06-26 17:48:27 EDT
(
hide
)
Description:
Patch to fix problem
Filename:
MIME Type:
Creator:
Michael Valenta
Created:
2002-06-26 17:48:27 EDT
Size:
1.16 KB
patch
obsolete
>Index: src/org/eclipse/team/internal/ccvs/core/util/AddDeleteMoveListener.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/AddDeleteMoveListener.java,v >retrieving revision 1.15 >diff -u -r1.15 AddDeleteMoveListener.java >--- src/org/eclipse/team/internal/ccvs/core/util/AddDeleteMoveListener.java 11 Jun 2002 21:23:58 -0000 1.15 >+++ src/org/eclipse/team/internal/ccvs/core/util/AddDeleteMoveListener.java 26 Jun 2002 21:47:06 -0000 >@@ -217,6 +217,15 @@ > } catch (TeamException e) { > CVSProviderPlugin.log(e.getStatus()); > } >+ // if this is a move, map a new provider >+ if (delta.getKind() == IResourceDelta.ADDED && (delta.getFlags() & IResourceDelta.MOVED_FROM) > 0) { >+ try { >+ RepositoryProvider.unmap(resource.getProject()); >+ RepositoryProvider.map(resource.getProject(), provider.getID()); >+ } catch (TeamException e) { >+ CVSProviderPlugin.log(e.getStatus()); >+ } >+ } > } > > // if a project is moved the originating project will not be associated with the CVS provider
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21036
: 1606 |
1610