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      Installing Gemini 5
admin
migration
 1.1        Pre-requisite Checks
admin
 1.2        Installing Gemini 5 Using Automated Installer
admin
 1.3        Installing Gemini 5 Using Zip File
admin
 1.4        Upgrading 5.0 to 5.1
admin
migration
 1.6        Using Windows Authentication
admin
security
 1.8        Setting up with Lucidchart
 9.3        Git Source Control Connector
add-ons
source-control
 9.4        Mercurial Source Control Connector
add-ons
source-control
 9.5        TFS Source Control Connector
add-ons
source-control
 10.1         Getting Started
usage
 10.2         Installing
 10.2.1           Requirements
 10.2.2           Automated Installer
 10.2.3           Microsoft Web Platform
 10.2.4           Zip File
 10.2.5           Scheduler Service
emails
 10.3         Upgrading
migration
 10.3.1           Upgrading Existing Installations
migration
 10.3.2           Upgrading 4.1.x to 4.2
migration
 10.3.3           Upgrading 4.0.x to 4.2
migration
 10.3.4           Upgrading 3.7.x to 4.2
migration
 10.3.5           Upgrading 3.6.x to 4.2
migration
 10.3.6           Upgrading 3.5.x to 4.2
migration
 10.3.7           Upgrading 3.1.x to 4.2
migration
 10.3.8           Upgrading 3.0.x to 4.2
migration
 10.3.9           Upgrading 3.0.0 to 4.2
migration
 10.3.10            Upgrading 2.2 to 4.2
migration
 10.3.11            Upgrading 2.1.x to 4.2
migration
 10.3.12            Upgrading 2.0.x to 4.2
migration
 10.3.13            Upgrading 1.9.1 to 4.2
migration
 10.3.14            Upgrading 1.9/1.9a/1.9b to 4.2
migration
 10.3.15            Upgrading 1.8.x to 4.2
migration
 10.3.16            Upgrading 1.7 to 4.2
migration
 10.3.17            Upgrading 1.6.3 to 4.2
migration
 10.10.1.7              Licensing
admin
 10.12.2            Enabling API support
api
View  |  Print  |  PDF

37 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