Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 866
Vivek Sharma Avatar asked Jul 10 '09 13:07

Vivek Sharma


2 Answers

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.

like image 63
balpha Avatar answered Oct 25 '22 06:10

balpha


Did you read this?

  • http://code.google.com/p/support/wiki/GettingStarted
  • http://code.google.com/p/support/wiki/MercurialStatus
  • http://code.google.com/p/support/wiki/MercurialFAQ
like image 20
kuy Avatar answered Oct 25 '22 06:10

kuy