Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Index Mercurial Source Control Connector
Previous  |  Next

 1.7        Setting up with Geckoboard
reporting
 2.5.8          The Calendar
usage
items
projects
time
plugins
ms-outlook
 9      Code Review & Source Control Connectors
 9.1        SVN Server Installation
 9.2        Client Side Gemini Tortoise SVN Integration
 9.3        Git Source Control Connector
install
source-control
 9.4        Mercurial Source Control Connector
install
source-control
 9.5        TFS Source Control Connector
install
source-control
 10.11          Using Add-on Products
usage
 10.11.1            Visual Studio 2008/2010
usage
visual-studio
 10.11.2            Gemini Desktop
usage
desktop
 10.11.3            Microsoft Outlook
admin
ms-outlook
usage
View  |  Print  |  PDF

12 documents found.


Mercurial Source Control Connector

install
add-ons
source-control

Download the Mercurial connector from: http://www.geminiplatform.com/downloads.

This connector has been created to allow committed Mercurial files to be linked to Gemini Issues. The following Document will show you how to install the connector.

Step 1

Ensure you have Python 2.x installed.

Step 2

Edit the "Mercurial.py" script and set the location to your Python directory.

Step 3

Edit the "Mercurial.py" script and change the following variables as required: username, apikey, geminiurl, mercurialpath, mercurialrepository

Mercurialvariables

Step 4

Put the "Mercurial.py" into the ".hg" directory for your Mercurial repository. (for example C:\Mercurial\.hg)

Step 5

If missing, create the "hgrc" file and ensure that the "[hooks]" section exists.

Step 6

Put the following line into the "hgrc" file: "commit = c:/Python27/python.exe C:/MyRepository/.hg/Mercurial.py". Please replace the Highlighted are a in the image below with your repository name.

mercurial .hg file - Copy

Step 7

Copy the map-cmdline.gem file into the "Templates" folder of your Mercurial installation.

Usage

You will need to commit your files using Command Prompt. When you commit files to Mercurial, simply start your commit message with "gem:XXX" (where "XXX" represents a Gemini Issue Id. In the example below the "XXX" is replaced with "217").

image

All commited files and comments appear under Code Review as follows:

image


Previous  |  Next