Mar. 27th, 2009

terrycloth: (evil)
Step 1: Have a bunch of functions that no one's using. Keep them out of the build like so:

#if NOT_NEEDED
function A
function B
function C
#endif //NOT_NEEDED

Step 2: Person A needs functions A and B. Their local build now looks like this:

function A
function B
#if NOT_NEEDED
function C
#endif //NOT_NEEDED

Step 3: Person B needs functions B and C. Their local build now looks like this:

#if NOT_NEEDED
function A
#endif //NOT_NEEDED
function B
function C

Both people check in. The second person is worried that someone else checked in to the same file, but hey, no merge conflicts!

Through the wonders of automatic merge software, you get:

function A
#endif //NOT_NEEDED
function B
#if NOT_NEEDED
function C

...and now you lose the rest of the file from that point on. Fortunately, this is likely to break the build, so it's not going to cause any *subtle* problems. }:P

(Also, I didn't actually check in, I just sync'd and did an overnight build, so it only broke me locally. Still...)

Profile

terrycloth: (Default)
terrycloth

October 2020

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728 293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 01:44 am
Powered by Dreamwidth Studios