Log in

No account? Create an account
Evil, but cute & gay about it
...ramblings of the imperfectly innocent
Reason I hate perforce #48,962 
19th-May-2009 06:24 pm
angry monkey
Today's perforce fun:
$ p4 diff2 file1 file2
==== file1#15 (ktext) - file2#18 (ktext) ==== identical
$ p4 print file1 > A
$ p4 print file2 > B
$ diff -u A B | wc -l

Thanks, perforce!
20th-May-2009 01:57 am (UTC)
Line end shenanigans?
20th-May-2009 02:03 am (UTC)
No, substantial chunks of text were missing from file1.
28th-May-2009 03:01 pm (UTC)
Very odd. I have never seen p4 botch a diff right out of the blue like that. Could this be an artifact of using diff -u on ktext files with expanded keywords? But even so, that should give you about 6 lines of diff output, not 36.
28th-May-2009 05:42 pm (UTC)
As I said, substantial lines of text were missing from one file. I don't entirely know what happened, as I had to call in someone to fix it. It's quite possible there was a problem with the server; I just don't know. Like most perforce things, it shall remain a mystery.
This page was loaded Nov 13th 2019, 3:24 pm GMT.