Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perforce : is there any better way to comment one line in client spec?

i used to -//depot/xxx.. but its not good because i need to write the correct depot path after -//.... is there any better way to comment this ? such as :#//depot/xxx..

like image 260
Biwier Avatar asked Nov 01 '10 19:11

Biwier


People also ask

What is depot in Perforce?

The Helix Server stores files in shared repositories called depots. By default, there is one local depot named depot on every Helix Server installation. To create or edit a depot, use p4 depot depotname and edit the fields in the depot spec form.

What is P4CLIENT?

The p4 client command puts the client spec into a temporary file and invokes the editor configured by the environment variable P4EDITOR . For new workspaces, the client name defaults to the P4CLIENT environment variable if set, or to the current host name. Saving the file creates or modifies the client spec.

What is client spec in Perforce?

Your Perforce client spec defines your workspace location, the depot files you plan to work with, and their location in your workspace when you invoke Perforce commands. When you work with P4Web, all workspaces reside on the machine where P4Web is running.


1 Answers

You can't.

The clientspec you see is just the output from the perforce database. It gets parsed when saved, so any comments would disappear the next time you load the clientspec.

like image 179
Byron Whitlock Avatar answered Sep 29 '22 10:09

Byron Whitlock