mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[patch]: remove unnecessary userData flag
This commit is contained in:
-2
@@ -23,7 +23,6 @@ import com.intellij.openapi.application.ModalityState;
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.components.ProjectComponent;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP;
|
||||
import com.intellij.openapi.diff.impl.patch.FilePatch;
|
||||
import com.intellij.openapi.diff.impl.patch.IdeaTextPatchBuilder;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
@@ -182,7 +181,6 @@ public class CreatePatchCommitExecutor extends LocalCommitExecutor implements Pr
|
||||
}, ModalityState.NON_MODAL, myProject);
|
||||
return;
|
||||
}
|
||||
myCommitContext.putUserData(BaseRevisionTextPatchEP.ourPutBaseRevisionTextKey, false);
|
||||
|
||||
int binaryCount = 0;
|
||||
for(Change change: changes) {
|
||||
|
||||
-2
@@ -17,7 +17,6 @@ package org.jetbrains.idea.svn.treeConflict;
|
||||
|
||||
import com.intellij.CommonBundle;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP;
|
||||
import com.intellij.openapi.diff.impl.patch.FilePatch;
|
||||
import com.intellij.openapi.diff.impl.patch.PatchSyntaxException;
|
||||
import com.intellij.openapi.diff.impl.patch.TextFilePatch;
|
||||
@@ -88,7 +87,6 @@ public class ApplyPatchSaveToFileExecutor implements ApplyPatchExecutor<TextFile
|
||||
final VirtualFile baseForPatch = myBaseForPatch == null ? baseDir : myBaseForPatch;
|
||||
try {
|
||||
final List<FilePatch> textPatches = patchGroupsToOneGroup(patchGroupsToApply, baseForPatch);
|
||||
commitContext.putUserData(BaseRevisionTextPatchEP.ourPutBaseRevisionTextKey, false);
|
||||
PatchWriter.writePatches(myProject, save.getFile().getPath(), textPatches, commitContext, CharsetToolkit.UTF8_CHARSET);
|
||||
}
|
||||
catch (final IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user