Community
Participate
Working Groups
Reproducible using org.eclipse.compare from branch_20090126_LocalDiff branch Steps: 1) compare local file (e.g. a.txt) with its revision 2) Use "Create Patch..." from the compare editor context menu 3) In the "Create Patch" dialog, there is Left: Local: a.txt and Right: Local history: a.txt.... 4) Choose Right, then choose Clipboard and proceed See that the value in "Use only file path" is wrong, it is "Local history: a.txt...", but should be "Local: a.txt" to which we are contributing 5) Now you have to change "Use only file path" to any path of existing resource (Tomasz will raise a bug for it), in my case it is "/javaProject/src/b/a.txt" 6) Check the patch, in my case I get Index: Local history: a.txt 2009-03-04 11:28:45 =================================================================== --- Local history: a.txt 2009-03-04 11:28:45 2009-03-04 13:03:21 -0000 +++ /javaProject/src/b/a.txt 2009-03-04 13:03:21 -0000 @@ -1,1 +1,2 @@ +aaaa aaaa Index should be "/javaProject/src/b/a.txt", but is "Local history: a.txt...".
Created attachment 128566 [details] Patch v1 Patch resolving this issue.
Created attachment 128762 [details] Patch_v2 This is the second version of the patch for this issue, the first one didn't cover the issue completly. Use only second version.
Looks good.
Patch_v02 released to branch_20090126_LocalDiff.