Move opened files between changelists or change the files' type.
p4 reopen has two different but related uses:
If file patterns are provided, all open files matching the patterns will be moved or retyped. The two flags may be combined to move a file and change its type in the same operation.
-c changelist# file | Move all open files matching file pattern file to pending changelist changelist#. To move a file to the default changelist, use default as the changelist number. |
-t filetype file | When submitted, store file as type filetype. All subsequent revisions will be that file type until the type is changed again. |
g_opts | See global options section. |
Can File Arg Use Revision Specifier? |
Can File Arg Use Revision Range? |
Minimal Access Level Required |
---|---|---|
No | No | open |
To submit a changelist to the depot | p4 submit |
To create a new changelist | p4 change |
To remove a file from all pending changelists | p4 revert |
To list opened files | p4 opened |
To list all the files included in a changelist | p4 opened -c changelist# |
To list all pending changelists | p4 changes -p pending |
To open a file for edit under a particular pending changelist and as a particular type | p4 edit -c changelist# -t type |
To open a file for add under a particular pending changelist and as a particular type | p4 add -c changelist# -t type |