From the looks of things, SourceCode has been deprecated in 2.0. There has been very little discussion about the deprecation recently. The release note for 2.0 says:
- The SourceCode() function and its associated factory functions
have started their deprecation cycle and can have a warning enabled.
And the ChangeLog also mentions it briefly:
- Start deprecation cycle for SourceCode() and related factories
Digging in the mailing list reveals that there was a poll in October 2008. The reason for the deprecation seems to have been that SourceCode()
added a great deal of complexity to the codebase, was not used much in the wild, did not support anything other than legacy RCS and SCCS very well, had buggy Subversion support, and was generally not worth keeping around.
Most replies to the poll said "I don't use this feature", with the occasional "yes it is buggy" or "why would you mix the source code control and the build system anyway?".