5
  1. I have create a local directory, and made some sub-directories and file in it.
  2. registered by project on code.google.com/hosting
  3. install Mercurial and did > hg init
  4. copied the auto-generated password from google, still dont know for what.

Now how do i upload files my local to the repository on google. Tired googling a lot, almost all the information is available for SVN users.

Do i have to create a branch on mercurial first. I am sorry if it is too silly, but how do i create one, the site does say anything create or upload or add.

Can anyone please share, how he started/uploaded his project?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Vivek Sharma
  • 3,794
  • 7
  • 38
  • 48

2 Answers2

5

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

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 your changes here and

hg commit -m "Your commit message"

to commit the changes to your local repo. Then

hg push

to push the changes to the repository on GC.

balpha
  • 50,022
  • 18
  • 110
  • 131