Vivek Sharma
Vivek Sharma

Reputation: 3814

How to upload project with mercurial on googlecode?

  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?

Upvotes: 5

Views: 2195

Answers (2)

balpha
balpha

Reputation: 50908

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.

Upvotes: 5

Related Questions