[p4] Trying to avoid adding files with mac line endings
Biswajit Dash
biswajitind at yahoo.com
Mon Apr 9 19:55:12 PDT 2007
Hi Jay,
You will have to modify the "LineEnd" option of the
client workspace from which the developer is
- Creating/saving files from MAC through Samba.
LineEnd: Share
Please go through the following technical Note for
details.
http://www.perforce.com/perforce/technotes/note063.html
You can also look at
p4 help client
See the LineEnd: option for the client workspace.
Regards,
Biswajit
--- Jay Renbaum <Jay.Renbaum at hillcrestlabs.com> wrote:
> Occasionally, one of our developers will save a file
> on our Linux system
> while working with MS Dev through samba and the file
> gets added to
> Perforce as a Mac format file. This does not cause a
> problem with our
> Linux builds, but when building on Windows, Visual
> Studio refuses to
> build the file due to the line ending issue. We keep
> having to manually
> correct this problem each time it occurs.
>
>
>
> I can write a trigger that fails the submit if the
> line ending is not
> Windows or Linux which should catch the problem,
> however, what I am more
> interested in is a way to force a conversion to
> Linux or Windows during
> the submit so that the problem does not occur.
>
>
>
> Any ideas will be appreciated.
>
>
>
> Thanks,
>
>
>
> Jay
>
>
>
> _______________________________________________
> perforce-user mailing list -
> perforce-user at perforce.com
>
http://maillist.perforce.com/mailman/listinfo/perforce-user
>
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
More information about the perforce-user
mailing list