Jump to content


Moving files(s) from one shelf to another without unshelving

shelf shelve

  • Please log in to reply
2 replies to this topic

#1 engr.vns

engr.vns

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 23 March 2020 - 09:35 PM

Moving a "non-open" but "shelved" file from one shelve to another shelve without unshelving seems simple in concept given that the file is "not-open"
It is convenient to reorganize your shelves without interrupting any workflow processes running in the client.
Could not figure out how to do this without unshelving first.

Is there a way this can be done?
If not what would I am curious about the rationale behind it.

Thanks in advance

#2 Dave Foglesong

Dave Foglesong

    Member

  • Members
  • PipPip
  • 17 posts

Posted 24 March 2020 - 05:26 AM

"p4 reshelve" will get you halfway there, it copies a file from one shelved change to another.

It should be possible to create a p4 command alias that does "p4 reshelve" to copy a file from one shelved change to another, then do a "p4 shelve -d" to remove the file from the first shelved change.

#3 engr.vns

engr.vns

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 25 March 2020 - 07:42 PM

Thanks Dave.. :) It seems to be version dependent




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users