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 175035 Details for
Bug 44438
"Team -> Show in resource history" fails on locked files with CVS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Use different name for incoming value
patch2 (text/plain), 1.49 KB, created by
Olexiy Buyanskyy
on 2010-07-22 22:09:47 EDT
(
hide
)
Description:
Use different name for incoming value
Filename:
MIME Type:
Creator:
Olexiy Buyanskyy
Created:
2010-07-22 22:09:47 EDT
Size:
1.49 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.cvs.core >Index: src/org/eclipse/team/internal/ccvs/core/syncinfo/ResourceSyncInfo.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/syncinfo/ResourceSyncInfo.java,v >retrieving revision 1.53 >diff -u -r1.53 ResourceSyncInfo.java >--- src/org/eclipse/team/internal/ccvs/core/syncinfo/ResourceSyncInfo.java 24 May 2010 13:43:32 -0000 1.53 >+++ src/org/eclipse/team/internal/ccvs/core/syncinfo/ResourceSyncInfo.java 23 Jul 2010 02:07:40 -0000 >@@ -345,18 +345,22 @@ > * > * @param version the version to set > */ >- protected void setRevision(String revision) { >- if(revision==null || revision.equals(ADDED_REVISION)) { >- this.revision = ADDED_REVISION; >+ protected void setRevision(String r) { >+ isDeleted = false; >+ if(r==null || r.equals(ADDED_REVISION)) { >+ revision = ADDED_REVISION; > timeStamp = null; > syncType = TYPE_REGULAR; >- isDeleted = false; >- } else if(revision.startsWith(DELETED_PREFIX)) { >- this.revision = revision.substring(DELETED_PREFIX.length()); >+ return; >+ } >+ revision = r; >+ if(revision.startsWith(DELETED_PREFIX)) { >+ revision = revision.substring(DELETED_PREFIX.length()); > isDeleted = true; >- } else { >- this.revision = revision; >- isDeleted = false; >+ } >+ int lockedIdx = revision.indexOf(LOCKEDBY_SUFFIX); >+ if (lockedIdx >= 0) { >+ revision = revision.substring(0, lockedIdx); > } > } >
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 44438
:
175034
| 175035