How to upload a project using mercurial on googlecode?

  • I created a local directory and created some subdirectories and a file in it.
  • registered by project at code.google.com/hosting
  • install Mercurial and do> hg init
  • I copied the automatically generated password from Google, but I don’t know why.

Now, how can I upload files to the local Google repository. Tired multi-user search, almost all information is available to SVN users.

Do I need to first create a branch on mercury. I apologize if this is too stupid, but how I create it, the site really says something, creates something or uploads or adds something.

Can anyone share how he started / uploaded his project?

+5
source share
2 answers

If you haven't created anything in your local repo yet, the easiest way is this.

Make a clone of the Google Code repository:

hg clone https://your_project.googlecode.com/hg your_local_repo

This will create a directory " your_local_repo" with a local repository in it. Make changes and

hg commit -m "Your commit message"

to commit changes to your local repo. Then

hg push

to make changes to the repository on the GC.

+5
source

All Articles