Operation move disabled on this server

Problem

I tried to move or rename a file using the p4 move command. The p4 server responded with this error message:

Operation 'move' disabled on this server

Solution

Since the move operation has been disabled by admins on this server, we need to use two operations to simulate a move.

One way to do this is by integrating the old to the new and then deleting the old:

$ p4 integrate old.txt new.txt
$ p4 delete old.txt

Another less recommended way is to copy the old to the new and then deleting the old. In this example, we do that on entire directories:

$ p4 copy old/... new/...
$ p4 delete old/...
Advertisements

One thought on “Operation move disabled on this server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.