Just as cylab already mentioned, checkin hooks will cause a lot of diffs, as well as check-out-hooks will.
check out hook will eliminate diffs.
formatting1 -> conversion on check in --> formatting2[server]
since everything thats checked in at the server is in formatting2 it will not cause diff's on the server
formatting2[server] --> conversion on check out --> formatting1
since everything thats checked out at the client is in formatting1 it will not cause diff's on the client
diff's will occour wenn it's only formatted one way, not wenn it's two/both ways.
perhaps a more programmer like abstract example will work.
say at the server I'm using 10 digit system.
Theres a 4 on the server.
The client attemps to check the 4 out
the check-out hook is run and the 4 is converted into a 2 digit system resulting into 100
The client then checks in the 100
the check-in hook is run converting it to a 4
4 is compaired to the excisting 4 causing no diff (4 eq 4) <-> true
if the client checks it out again it converts it back to 2 digit system resulting into 100
again it's the same as the excisting is 100 and the server returns 100.
the check-out hook is not at the server but at the client.
code formatting conversion doesn't require knowlage on the excisting code formatting. (as opposed to the example where 100 could be interpered as a 100 (10system) as well as 4(2digit) as long as the code is syntaxly correct there are no problems but since there are undoubtly also check-in hooks that could check the syntax it shouldn't cause problems.
Of course I do. And all the others prefering next-line-braces will also do. What did you think?
I usually see ppl going about it as such: http://www.google.com/codesearch?q=+import+show:nOOdPlEDeFg:cIL_WEimU_M:jKlW_1_QSDY&sa=N&cd=107&ct=rc&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.6a/src/mozilla-source-1.6a.tar.bz2&cs_f=mozilla/security/nss/lib/dev/devtoken.c#a0
I having looked ad some pieces of code where it is consistenly applied I do find it better, there is still a gab. I can live with iether of the 3