I've been doing forks of modules and using replace to use them in my code base extensively. I had 0 problems, it works marvelously.
If you're doing some kind of global find/replace on fork, then something's definitely not right.
If you're doing some kind of global find/replace on fork, then something's definitely not right.