Project

General

Profile

Actions

Defect #9779

closed

Fetching mercurial/bicbucket changesets from redmine doesn't work

Added by Simen Endsjø almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I'm trying to fetch changesets using sys/fetch_changesets or script/runner, but it doesn't work. My repositories is hosted at bitbucket.

My setup:
hg: 2.0.1
redmine: 1.2.2
rails: 2.3.14
thin
nginx
arch linux

(mongrel is my redmine user)

I've added an [auth] section in /home/mongrel/.hgrc with the required username/password. In configuration.yml I've also added scm_mercurial_command: /usr/bin/hg, and hg is checked as green in redmine. The source repository has the same user as redmine; mongrel.

It works if I try to do this manually (but with some warnings..):

[user@host redmine-testrepo]$ sudo -umongrel hg incoming
warning: bitbucket.org certificate with fingerprint xx:xx not verified (check hostfingerprints or web.cacerts config setting)
changeset:   2:xx
tag:         tip
user:        user
date:        Mon Dec 12 10:36:25 2011 +0100
summary:     enda mer

I tried adding debug logging to production.rb, but it doesn't log anything about hg

Browsing the repository works.

Actions

Also available in: Atom PDF