[p4] Line-ending problems
Roy Smith
smith_roy at emc.com
Mon Feb 26 06:58:24 PST 2007
I'm trying to get a better handle on how line endings work in P4.
One of our users recently submitted a changelist where all the files
submitted got their line endings changed from newlines to returns.
He claims he did the submit using P4V under linux, using a workspace
that specifies "local" line endings. The local copies of the files
in his home directory all have newlines when examined with "od -c".
We're all stumped as to why we might have ended up with returns in
the submitted versions.
What kind of audit tools are available to reconstruct exactly what he
did? I can see the name of the workspace he was using from the
changelist log, but I can't see what machine he submitted it from.
Is that information stored anywhere? Digging a little deeper, would
there by any way to see if he submitted it using the native P4V linux
client, or P4WIN running on his linux box under wine?
Not trying to assign blame here, just trying to understand what went
wrong so we can prevent it from happening again.
-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
(914) 580-3427
More information about the perforce-user
mailing list