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 181164 Details for
Bug 319661
Patch wizard excludes changes in projects that it can't connect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Added error handling of server errors.
patch_319661_error_handling.txt (text/plain), 2.19 KB, created by
Malgorzata Janczarska
on 2010-10-19 05:58:37 EDT
(
hide
)
Description:
Added error handling of server errors.
Filename:
MIME Type:
Creator:
Malgorzata Janczarska
Created:
2010-10-19 05:58:37 EDT
Size:
2.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.cvs.core >Index: src/org/eclipse/team/internal/ccvs/core/client/listeners/DiffListener.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/listeners/DiffListener.java,v >retrieving revision 1.18 >diff -u -r1.18 DiffListener.java >--- src/org/eclipse/team/internal/ccvs/core/client/listeners/DiffListener.java 24 Apr 2009 09:33:21 -0000 1.18 >+++ src/org/eclipse/team/internal/ccvs/core/client/listeners/DiffListener.java 19 Oct 2010 09:24:53 -0000 >@@ -74,10 +74,10 @@ > ICVSRepositoryLocation location, > ICVSFolder commandRoot, > IProgressMonitor monitor) { >- // ignore server messages for now - this is used only with the diff >- // request and the errors can be safely ignored. >+ // return all the server errors as CVSStatus.ERROR_LINE or >+ // CVSStatus.PROTOCOL_ERROR > if (getServerMessage(line, location) != null) { >- return OK; >+ return super.errorLine(line, location, commandRoot, monitor); > } > > //Check to see if this is a no such directory message >#P org.eclipse.team.cvs.ui >Index: src/org/eclipse/team/internal/ccvs/ui/operations/DiffOperation.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/DiffOperation.java,v >retrieving revision 1.19 >diff -u -r1.19 DiffOperation.java >--- src/org/eclipse/team/internal/ccvs/ui/operations/DiffOperation.java 21 Sep 2009 10:40:45 -0000 1.19 >+++ src/org/eclipse/team/internal/ccvs/ui/operations/DiffOperation.java 19 Oct 2010 09:24:55 -0000 >@@ -312,7 +312,10 @@ > List toShow = new ArrayList(); > IStatus children[] = status.getChildren(); > for (int i = 0; i < children.length; i++) { >- if (children[i].getCode() == CVSStatus.BINARY_FILES_DIFFER) { >+ // ignore all errors except those found by DiffListener >+ if (children[i].getCode() == CVSStatus.BINARY_FILES_DIFFER >+ || children[i].getCode() == CVSStatus.PROTOCOL_ERROR >+ || children[i].getCode() == CVSStatus.ERROR_LINE) { > toShow.add(children[i]); > } > }
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 319661
:
174117
|
174118
|
179729
|
181164
|
182398
|
188030
|
188902
|
191620
|
191691
|
191747
|
191748
|
191749
|
192352
|
192455
|
192525
|
193008
|
193808
|
193909