Orbit
Orbit

Reputation: 19

how to add files to depot as writible (perforce )

Hello ı have a problem with perforce , I am student and my projects submitted to perforce depot, but the files that ı add become read-only and my porject connot build beacuse its read only properties, How can ı add files to depot as writible

Upvotes: 0

Views: 607

Answers (1)

Mike O'Connor
Mike O'Connor

Reputation: 3813

For files that have already been submitted to the depot, you can open them for edit, and then right click in P4V and choose "Change filetype" from the context menu. If you add the +w modifier, the files will always be writeable on the client.

When you're adding new files to the depot, you should change the file type before submitting the initial add.

If you're using the command line to add and edit files, you can specify the file type with the -t flag in both the add and edit commands.

Before you start marking files as writeable, though, I would make sure that they belong in the depot in the first place. Things like intermediate object files and whatnot are usually not checked in because of the problems they will cause if they're read only.

Upvotes: 1

Related Questions