We intend to use Mercurial for version control of our WordPress website development.
The development model in WordPress dictates that development usually occurs in a couple of sub directories off the main root for plugins and themes while the main root is subject to change via WordPress version updates and doesn't need to be version controlled.
My question is if this situation is best managed with a repository located at root with a hgignore to remove the main WordPress code from VC, with just the previously mentioned sub directories under control OR a couple of sub repositories rooted in the directories where the development occurs and a wrapper parent repository to join them together?
What are the pros and cons of each approach and the effect on deployment?
With the second approach (sub repositories) when you done the initial pull on a new server would the development directories be created in their correct position within the WordPress tree?