p4 reopen
Move opened files between changelists or change the files' type.
Syntax
p4 [g-opts] reopen [-c changelist] [-t filetype] file ...
Description
p4 reopen has two different but related uses:
- Use
p4 reopen -c changelist file
to move an open file from its current pending changelist to pending changelistchangelist
. - Use
p4 reopen -c default
to move a file to the default changelist. - Use
p4 reopen -t filetype
to change the type of a file.
If file patterns are provided, all open files matching the patterns are moved or retyped. The two options can be combined to move a file and change its type in the same operation.
Options
|
Move all open files matching file pattern
|
|
When submitted, store file as type See File types for a list of file types. |
|
See Global options. |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
No |
No |
|
Examples
|
Reopen all open files as text files with keyword expansion. |
|
Move all open files under directory |
|
Move all open |