Feature #1806
Mercurial support
100%
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 over 13 years ago
- Target version set to 0.2.0
#2 Updated by Andriy Lesyuk over 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:
- Uses
file:///...
style URLs for local SVN repos and/../...
style “URLs” for local Git repos - Uses
svnadmin create <path>
command to create SVN repo andgit init --bare <path>
for Git repos - 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 over 13 years ago
will update the issue with details how to use mercurial later today
Cheers,
Michael
#4 Updated by John Blackwood over 13 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 about 13 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 about 13 years ago
- % Done changed from 60 to 80
Need someone to test this.
#7 Updated by Etienne Savard about 13 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 about 13 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 about 13 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 about 13 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 about 13 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 about 13 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.