Should the parent project include the full history of the sub-project as well?
You currently have three options, all with tradeoffs: • Remove revision history in your sub-projects by deleting the .git/.hg directory, and experience pain when you want to pull the latest updates or commit a patch on the sub-project. • Track the entire .git/.hg directory for each sub-project, and accept that the .git/.hg directory of your parent project will now be huge. • Use Git submodules (or Mercurial subrepos), and hope that you never have to include a Git project inside of a Mercurial project, or vice versa. Also, accept the unfortunate fact that your build process now requires a working Internet connection.