mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-139795 Do not explicitly set "last modified time" for files during move/rename - as incorrect value could be set resulting in "file cache conflict" issues
This commit is contained in:
@@ -281,7 +281,6 @@ public class SvnFileSystemListener extends CommandAdapter implements LocalFileOp
|
||||
}
|
||||
|
||||
private boolean doMove(@NotNull SvnVcs vcs, final File src, final File dst) {
|
||||
long srcTime = src.lastModified();
|
||||
try {
|
||||
final boolean isUndo = isUndo(vcs);
|
||||
final String list = isUndo ? null : SvnChangelistListener.getCurrentMapping(vcs, src);
|
||||
@@ -301,7 +300,6 @@ public class SvnFileSystemListener extends CommandAdapter implements LocalFileOp
|
||||
if (! isUndo && list != null) {
|
||||
SvnChangelistListener.putUnderList(vcs.getProject(), list, dst);
|
||||
}
|
||||
dst.setLastModified(srcTime);
|
||||
}
|
||||
catch(VcsException e) {
|
||||
addToMoveExceptions(vcs.getProject(), e);
|
||||
|
||||
Reference in New Issue
Block a user