Show Blogger Panel Hide Blogger Panel
Alex Yakunin

November 3, 2009

Pushing the changes to DataObjects.Net source code repository

You must complete 2 steps:

1. Request Project Committer permission by sending us an e-mail from your Google account.

2. Right-click on the folder where you repository clone is stored and select "TortoiseHg" - "Repository Settings". Set the specified options there as it is show on screenshots below.

Set your own user name. Preferable one is "Name Surname", although nicknames are ok as well.

Specify your Google account name and password by double-clicking on "default" alias. You can also select "Fetch after Pull" there - normally this is desirable option.

The following dialog will appear after double-clicking on "default" alias. Account name and password must be specified there.

After these actions your hgrc file must look like:

name = DataObjects.Net
description = DataObjects.Net project repository
contact = [email protected]
allow_archive = bz2
allow_push = *
push_ssl = False
encoding = UTF-8

default =[email protected]/hg/

postpull = fetch

Steps for editing its [web] sections aren't described here, but this section is necessary only if you are going to expose your repository via web (e.g. using hg serve).

So another way to configure your repository for pushes is to edit your hgrc file - e.g. using Notepad. The file is located right in <YourRepositoryRoot>\.hg folder.

Note: as I wrote earlier, the revisions you see now are produced by one-way sync from our Subversion repository. So if you’ll push your own commits right now, they will be branched aside from the primary branch we update, and it won’t be possible to merge them into the primary branch until we completely migrated to Mercurial. So if you will modify the code, please do not push the changes at all until migration at our side is completed. This will take just about a week.

Btw, Mercurial allows you to merge your changes locally and push them later – it is truly decentralized system.