Using branches for a mini project or module of project: Good practice?

Posted by TheLQ on Programmers See other posts from Programmers or by TheLQ
Published on 2011-02-06T21:04:11Z Indexed on 2011/02/26 7:32 UTC
Read the original article Hit count: 280

Filed under:
|

In my repo I have 3 closely related mini projects: 1 server and 2 clients. They are all quite small (<3 files each). Since they are so small and so closely related I just dropped them in folders in one single repo. However now that I know I can't clone a single directory in my VCS of choice (Mercurial), I'm considering splitting them up.

However I'm confused about general best practice: Is it okay to put different small projects in different branches, or should they all go in different repos?

I'm currently leaning towards branching since I can't easily splice out the file history of the different projects but then your using a feature in a way it wasn't meant to be used.

© Programmers or respective owner

Related posts about mercurial

Related posts about vcs