perforcep4v

move shelved files in one workspace to another workspace perforce - file(s) not in client view


I have workspace1 that has some shelved changes. Now I need that shelf to be moved to workspace2. I am trying the following command with no luck. you can see the error I am getting as well.

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

The 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 quite new to perforce so excuse me if this an easy task that I am having issues with. The resource i am using to guide me is:

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

I have also goggled with no luck. I also found a resource that said there was an option in the unshelve dialog of P4V however i do not have that option.


Solution

  • The issue was that since the files were in two different streams instead of unshelve I needed to change ownership for the changelist to the new workspace. Now I can unshelve without any issues.

    To change ownership I right clicked the the changelist in P4V and selected change ownership.