Move files in one workspace to another perforce workspace - file not in client view

I have workspace1 with some pending changes. Now I need this shelf to move to workspace2. I try the following command with no luck. You can also see the error I get.

C:\source\workspace1>p4 -c workspace1 unshelve -s changelistworkspace1# [-f] [-n] [-c changelistworkspace2#] [-S workspace2Stream] 

Errors:

 [-f] - file(s) not in client view. <br /> [-n] - file(s) not in client view. <br /> [-c - file(s) not in client view. <br /> changelistworkspace2#] - file(s) notin client view. <br /> [-S - file(s) not in client view. <br /> workspace2Stream] - file(s) not in client view. 

I am completely new to justify, so excuse me if this is an easy task that I'm having problems with. Resource that I use for guidance:

http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_unshelve.html

I'm also out of luck. I also found a resource saying that there is an option in the unshelve P4V dialog box, however I do not have this option.

+8
perforce p4v
source share
3 answers

Thanks for helping everyone. The problem was that since the files were in two different streams instead of unshelve, I needed to change the ownership of the change list in the new workspace. Now I can refuse any problems.

To change the ownership, I right-clicked the list of changes in P4V and the selected ownership of the change.

+7
source share

If both workspaces have the same user, or the corresponding permissions are specified for the change list:

Go to your initial workspace [client1]

 p4 shelve -c <changelist_x> 

Go to the second workspace [client2]

 p4 unshelve -s <changelist_x> 
+5
source share

You must provide a list of changes in the destination workspace for the pending files that you want to move.

EXAMPLE- user "admin" has some files with shelves in change 12118

 $ p4 changes -s shelved -u admin Change 12118 on 2014/06/25 by admin@admin14streams *pending* 'original shelve changes by admi' 

Another user creates a change list with a description and deletes these files in his change list.

 $ p4 change $ p4 unshelve -s 12118 -c 12119 //depot/r1.0/bar#1 - unshelved, opened for edit //depot/r1.0/foo#1 - unshelved, opened for edit 

In P4V, to disconnect changes from another user:

  1. Go to the Pending tab 2. Click on the Filter so that it shows the changes for the other user/workspace 3. Select the shelved change, right-click and select 'Unshelve Files' 

LIST OF REFERENCES

http://answers.perforce.com/articles/KB_Article/Changing-the-Owner-of-a-Pending-Changelist

http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_unshelve.html

+2
source share

All Articles