This may be a very standard task but I just do not know how to Google for it.

I have an Hg repository with many branches. These include e.g. stable and experimental branches. I'd like to put my code into Google Code but I don't want everyone to see all my experiments.

Is it possible to somehow have only the stable branch put there?

So far I have made the local clone of Google's repo, put the files from the stable branch into this local repo, and checked it in. So now Google's repo only contains the stable branch, as I need. The problem is that each time I change something in my code I have to do all Hg operations twice. Not very convenient.

Is there a better way?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.