edit -- Open an existing file for edit p4 edit [ -c changelist# ] [ -t filetype ] file ... Open an existing file for edit. The server notes that the current user on the current client has the file opened, and then changes the file permission from read-only to read/write. If -c changelist# is given, the file is put into the pending changelist; the changelist must have been previously created by p4 change Otherwise the file is opened in the 'default' (unnumbered) changelist. If -t filetype is given the file is explicitly opened as that filetype. Otherwise, the type of the previous revision is reused. See 'p4 help filetypes' for a complete list.