On Wed, 27 Sep 2006, Malcolm Nixon wrote: > Jonathan Arnold wrote: > > You can change the Perforce filetype to be binary, and that way Perforce > > will leave the cr/lf alone. Then check out the scripts, do a d2u on them, > > and check them back in. > > > > $ p4 edit -t binary myscript.sh > > I believe this is what I will end up being forced to do. Many of the > other fixes could be used if this were just my system, however I have to > assist over 30 developers scattered around the country, most of whom are > Cygwin illiterate (other than running a simple build script). > > The mount point idea would work, except that every developer gets their > local sandbox in different areas of their drives, and most have multiple > sandboxes active for work on different branches.
Right. So do the above "binary" fix on just the main build script (since your Cygwin-illiterate developers are unlikely to touch that), and also have that script adjust the mount where *it* lives (or some path relative to it) if the OS is Cygwin and the mount is binary... > The only truly annoying thing with binary files in Perforce is that it > makes diffing and merging much harder. Indeed. So don't go the full Monty until you've exhausted other options. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/