Biwier
Biwier

Reputation: 417

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..

Upvotes: 10

Views: 5257

Answers (2)

Chance
Chance

Reputation: 2700

The best I can think of is if you add something in the Description: field and copy the text into the View: field when needed.

Upvotes: 6

Byron Whitlock
Byron Whitlock

Reputation: 53881

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.

Upvotes: 6

Related Questions