Project

General

Profile

Actions

Feature #6515

open

Mercurial hgrc support with issues auto-syncronizaton

Added by Alessio Caiazza about 14 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2010-09-28
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I've write a little patch for mercurial SCM that allows you to edit some fields of HG_REPO/.hg/hgrc.

Currently is possible to edit the repositories's description, the contact and the web style; wich are usefull if you publish your repository with hgredmine or the hgweb cgi.

Another interesting features is the ability to generate an hook that will force redmine to fetch changes after a push.

My patches applies on 1.0-stable branch, after the patches provided by Yuja on Issue #4455

My patches are available as MQ here


Files

add_ini_support.diff (7.03 KB) add_ini_support.diff INI file parser Alessio Caiazza, 2010-09-28 10:13
hgrc_support_tests.diff (4.82 KB) hgrc_support_tests.diff some tests Alessio Caiazza, 2010-09-28 10:13
mercurial_helper_hgrc_support.diff (1.23 KB) mercurial_helper_hgrc_support.diff web interface Alessio Caiazza, 2010-09-28 10:13
mercurial_hgrc_support.diff (2.73 KB) mercurial_hgrc_support.diff the code Alessio Caiazza, 2010-09-28 10:13

Related issues

Related to Redmine - Patch #7494: Patch for support http protocol wirh mercurial repositoryClosed2011-01-302011-01-30

Actions
Related to Redmine - Feature #4455: Mercurial overhaulClosedToshi MARUYAMA2009-12-21

Actions
Related to Redmine - Patch #986: Clone remote git repositoryClosed2008-04-03

Actions
Actions #1

Updated by Declan Lynch over 13 years ago

This is something I'd like to see added to the product for Mercurial repositories.

The project description could automatically come from the project description and the owner can come from the project owner list for the project. Not sure how this would work for redmine sites that change the user roles names or add in extra ones.

Private projects should automatically have the 'hidden' flag turned on in the hgrc so they don't list in the HGWeb repository list.

In terms of style I prefer to set that in the hgweb.config file so all repositories have the same style so there would need to be an option to disable setting this on a project by project basis if wanted.

I'll certainly be watching this and hoping it gets added.

Actions

Also available in: Atom PDF