// Locking is needed, AbstractRepository got shared lock only for destination
// NEXUS-4550: FSPeer is the one that handles the rename in case of FS LS,
// so we need here to claim exclusive lock on actual UID to perform the rename
final RepositoryItemUidLock uidLock = item.getRepositoryItemUid().getLock();
uidLock.lock(Action.create);
try {
handleRenameOperation(hiddenTarget, target);
target.setLastModified(item.getModified());
}