What files to include in SVN on custom projects

Topics: General, Troubleshooting
Jul 19, 2011 at 7:28 PM

We are building a few Orchard sites and developing custom modules and themes for each. We are currently downloading the source from codeplex and then adding it to SVN. I was wondering what should be included/excluded from the source code?

Is Subversion a good choice or should we be using Mercurial? Any help with this would be greatly appreciated.

Jul 19, 2011 at 8:16 PM

It all depends why you are putting it under source control and what you need to manage from there. If it's just your custom pieces, I would create a repository for each module and theme, separately from the Orchard directory, and then I would clone it to the local copy that you are working on as you need them, as this configuration makes it possible to reuse some of those. But if they are completely tied to a specific site that may not make sense. Distributed version control such as Mercurial makes such scenarios a lot easier, so I would definitely stay with Mercurial (although it should be possible to use SVN for something like that as well).