[p4] error messages

Bob Van Zant bob at norcalttora.com
Thu Jul 12 05:10:20 PDT 2007


On 7/12/07 2:35 PM, "R K" <r.keralaiyer at gmail.com> wrote:

> All,
> When do we get these error messages  and how to avoid them ?
> 1. Can't clobber writable file
If you manually chmod +w a file (set it as being writable) and then try to
do a p4 sync you will get this error. To avoid it don't manually chmod +w
and instead use p4 edit to tell the server you're working on the file.

You can get around the error by simply doing a p4 edit and then a p4 sync.

The other option is to set the file back to read only and do the p4 sync,
however, you may (will?) lose any changes you made to the file.

> 2. Cannot rename an existing file ( in case of get latest revision/force
> revision )

I don't know the answer to this one.

-Bob



More information about the perforce-user mailing list