I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #1806

Mercurial support

Added by Michael Veselovski almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 Jul 2011
Due date:
21 Sep 2011
% Done:

100%

External issue:

Description

Hello Andrew

do you have a plans to add Mercurial support to this Redmine SCM Creator. I’m using redmine with SVN and Mercurial so it’s really interesting for me.

in case if you would need any help I’d be more than happy to help (i’m actually sys admin so will be able to help with such problems )

Regards
Michael

History

#1 Updated by Andriy Lesyuk almost 13 years ago

  • Target version set to 0.2.0

#2 Updated by Andriy Lesyuk almost 13 years ago

  • Status changed from New to Open
  • Assignee set to Andriy Lesyuk

Hello, Michael! Thanks for reporting!.. Now I do have plans... I really need someone’s help to support such SCMs as Mercurial because I did/do not use them. You can help with:

  • Instructions on how to setup a repo
  • Test the plugin with Mercurial support

For other SCMs the plugin does:

  1. Uses file:///... style URLs for local SVN repos and /../... style “URLs” for local Git repos
  2. Uses svnadmin create <path> command to create SVN repo and git init --bare <path> for Git repos
  3. For Git it also runs git update-server-info

Could you please point me to a short article describing how to create Mercurial repo and/or write a short tutorial just here?

#3 Updated by Michael Veselovski almost 13 years ago

will update the issue with details how to use mercurial later today

Cheers,

Michael

#4 Updated by John Blackwood over 12 years ago

To create a mercurial repository:
hg init <path>

The location of the repository for redmine is the same as for git:
/../../repository_name

#5 Updated by Andriy Lesyuk over 12 years ago

  • Status changed from Open to In Progress
  • % Done changed from 0 to 60

Added Mercurial support (recent code in SVN)!

Please test it and confirm that it works.

Thanks

#6 Updated by Andriy Lesyuk over 12 years ago

  • % Done changed from 60 to 80

Need someone to test this.

#7 Updated by Etienne Savard over 12 years ago

Hi Andriy,

Just what I was looking for.

I use Mercurial and Redmine on Windows (customer requirement). I will test the plugin for you.

Étienne.

#8 Updated by Etienne Savard over 12 years ago

Hi Andriy,

Just want to let you know that I’ve tested your plugin and it works like a charm!

Thanks a lot!

Etienne.

#9 Updated by Andriy Lesyuk over 12 years ago

  • Due date set to 21 Sep 2011
  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Thank you, Etienne!

#10 Updated by John Blackwood over 12 years ago

I’ve updated the plugin on my server (svn update) and restarted apache, but Mercurial doesn’t appear in the drop down of possible SCMs. Have I missed a step?

#11 Updated by Andriy Lesyuk over 12 years ago

I’ve updated the plugin on my server (svn update) and restarted apache, but Mercurial doesn’t appear in the drop down of possible SCMs. Have I missed a step?

You need to update scm.yml in #{RAILS_ROOT}/config. See scm.yml distributed with the plugin (in SVN) for example.

#12 Updated by John Blackwood over 12 years ago

Andriy Lesyuk wrote:

I’ve updated the plugin on my server (svn update) and restarted apache, but Mercurial doesn’t appear in the drop down of possible SCMs. Have I missed a step?

You need to update scm.yml in #{RAILS_ROOT}/config. See scm.yml distributed with the plugin (in SVN) for example.

Aha, that would be the issue. I was changing the config file in the plugin directory. It does appear to work perfectly now.

Also available in: Atom PDF

Terms of use | Privacy policy