[p4] p4 typemap text+x except when symbolic link

mlabato <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'mlabato'.

Hi,

We used to have in our typemap file :

text+x  //.../compile   

to ensure all scripts named 'compile' got checked in with executable
permission as sometimes perforce would drop the executable bit when checking in.

However sometimes, 'compile' is a symbolic link, and the checkin did not
work with that rule.    It could be anywhere in the depot,
not just in some known subset of directories, so specifying multiple rules does
not work.

Is there any way to get it to be text+x except when it is a symbolic link?



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5476-p4-typemap-textx-except-when-symbolic-link
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.