Steps for committing and pushing changes to Google Code hosted Mercurial repository :- Install TortoiseHg in Windows
- Create a local directory.
- Convert that directory into a mercurial repositary
- Populate that directory with relevant files you want to upload or work with
- Do HG Commit... by right clicking on the directory icon and choosing the option
- In settings in the 'HG Repositary Explorer' fill in the User Name in Commit Tab
- In settings in the 'HG Repositary Explorer' choose '*' in Allow Push field in Web Tab
- Fill in a changeset description
- Open HG Repositary Explorer by right clicking on the directory icon and choosing the option
- In HG Repositary Explorer fill remote repositary location
- In HG Repositary Explorer press Determine and mark changesets button
- In HG Repositary Explorer press Push outgoing changesets button
- Push process starts and now fill authentication details whenever asked. Also remember that Google Code has separate password for repositary operations then the usual password associated with your google account. Always remember to use it
- If no server or Mercurial bug comes then you have successfully committed and pushed the change to the repository
Steps for cloning a Google Code hosted repositary to PC- Right click in windows explorer in the directory within which you want to copy the Google Code hosted Mercurial repository and select Clone... option.
- In Source Path field fill in the Google Code hosted Mercurial repository address.
- Copy the appropriate remote command to copy in Remote Command field from the Source Tab's Checkout section of Google Code hosted Mercurial repository.
- Press Clone button.
- Your repository is now cloned.
|
|