Thursday, June 19, 2008

perforce making a diff

after breaking a daily build by committing a change that was missing some files, i started to look for a way to find changed non-checked out files.

surprisingly, the way to detect it is just the same as in most source control systems - using 'diff' command
it's only available from command line, as far as i see.

so to see what's changed, run "p4 diff -du -sl".
-du stands for "tell diff to use unified format"
-sl stands for "diff non checked out files too"

hope that helps

0 comments: