[p4] (no subject)
Looney, James B
james.b.looney at lmco.com
Tue Nov 6 13:27:53 PST 2007
Why not use a trigger to check the LineEnd value when the user
creates/edits
the workspace? That'd cover future workspace creation/updates, although
it's fairly easy to write a script that can also go through all clients
checking the LineEnd value and either reporting or changing it.
-James
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Jay Glanville
> Sent: Tuesday, November 06, 2007 11:05 AM
> To: Perforce Users Mailing List
> Subject: [p4] (no subject)
>
> Hello all,
>
> What, in your opinion, is the best way to prevent users from
> submitting
> text files that use the 'wrong' (ie: Window's CR/LF) line
> ending style?
>
> I've told all my P4 users that they should be using the 'share' line
> ending property for their workspaces, but there's always one
> in a bunch
> who'll forget.
>
> My first thought was to write a trigger that would check all
> text files
> on check in, but that might get a little onerous on the server,
> especially when creating a new branch with 17,000 files in it.
>
> Any suggestions I haven't thought of?
>
> Thanks
>
> JDG
>
> ---
> Jay Dickon Glanville
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
More information about the perforce-user
mailing list