mercurialdvcsgoogle-codenetbeans6.7

How to initialize google-code project in Mercurial


I have started a Mercurial based project on google code. I have worked in subversion for sometime, but I am confused with what to do what in Hg.

I would like help on the following:

  1. How do I initialize project (first on my local machine) (then from my local copy to google's server)
  2. How do I get my copy of a build from the server
  3. How do I update(merge/sync) my local changes back to the server

My project is in PHP and I am using netbeans


Solution

  • Both barkmadley and RC touch on it, but what you're explicitly missing is that your order is wrong in step one. Create the empty repo on google, clone it to local, and then commit locally and push. Don't try to create it locally and then push to google. There's nothing inherently wrong with the idea of doing it that way, but it's not the workflow for which google is set up.