void (@NotNull VFileMoveEvent e) { VirtualFile f = e.getFile(); boolean isVersioned = myGateway.isVersioned(f); Boolean wasVersioned = f.getUserData(WAS_VERSIONED_KEY); if (wasVersioned == null) return; f.putUserData(WAS_VERSIONED_KEY, null); if (!wasVersioned && !isVersioned) return; myVcs.moved(myGateway.getPathOrUrl(f), myGateway.getPathOrUrl(e.getOldParent())); }