RCS keyword extension

Perforce manual says that if you want to automatically expand RCS keywords in the contents of a file, you need to specify some type for them (i.e. + k or + ko).

Is it possible to specify the file type based on its extension globally for the entire depot or its subdirectory?

For example, Subversion has a feature called auto-props.

+3
source share
1 answer

You can define a “typemap” that will automatically assign a default file type based on the extension and therefore defaults to “text + ko”.

http://www.perforce.com/perforce/doc.current/manuals/cmdref/typemap.html

+6

Source: https://habr.com/ru/post/1752307/


All Articles