#1847 closed enhancement (fixed)
My vote for a Mercurial backend
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | high | Milestone: | 0.11 |
Component: | version control | Version: | devel |
Severity: | major | Keywords: | mercurial |
Cc: | eric-trac@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
While reading VersioningSystemBackend I noticed that no one had file a ticket yet for a Mercurial backend. As the wiki page indicates, Mercurial(hg) will give more information into what it does. Interesting to note that it is written in Python. Hope the new plugin system might allow for this type of integration.
Attachments (2)
Change History (19)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Cc: | added |
---|
comment:3 by , 19 years ago
Component: | general → version control |
---|---|
Owner: | changed from | to
comment:4 by , 19 years ago
Another vote here. Only a lack of time keeps me from jumping in and helping out, at the moment.
comment:7 by , 19 years ago
Milestone: | → 1.0 |
---|---|
Owner: | changed from | to
Priority: | normal → high |
Severity: | normal → major |
Status: | new → assigned |
I've got a working version of Trac+Hg. No major issues, but I need to make a proper plugin before making the code available (next Wednesday).
Related versioncontrol generalization work will go here:
and the Mercurial GPL plugin will go here:
comment:8 by , 19 years ago
Another vote for Mercurial plugin! Can't wait to see the code released. :)
comment:9 by , 19 years ago
Have a look at r2472 and check for the documentation in TracMercurial.
I'll also upload a patch for the vc-refactoring branch against 0.9 here, as well as drop an egg or two…
by , 19 years ago
Attachment: | TracMercurial-0.1-py2.4.egg added |
---|
The hg-plugin (developed on windows with ActiveState Python 2.4.1, I don't know yet if the egg will work on another platform/version)
by , 19 years ago
Attachment: | vc-refactoring_for_trac-0.9.patch added |
---|
follow-up: 12 comment:11 by , 19 years ago
Well, there's still a vc-refactoring phase 2 awaiting… (see related mails on Trac Dev).
When that's finished, I could host the plugin on Trac Hacks (or somewhere else), but in the meantime, I think it makes sense to keep it close to the (next) vc-refactoring branch.
follow-up: 13 comment:12 by , 18 years ago
Replying to cboos:
Well, there's still a vc-refactoring phase 2 awaiting… (see related mails on Trac Dev).
When that's finished, I could host the plugin on Trac Hacks (or somewhere else), but in the meantime, I think it makes sense to keep it close to the (next) vc-refactoring branch.
Do we need to keep this ticket open since there's a plugin for this? If there are changes needed in the vc-refactoring I think we can open separate tickets for those issues.
comment:13 by , 18 years ago
Keywords: | mercurial added |
---|---|
Milestone: | → 0.10 |
Resolution: | → fixed |
Status: | assigned → closed |
Replying to mgood:
Do we need to keep this ticket open since there's a plugin for this? If there are changes needed in the vc-refactoring I think we can open separate tickets for those issues.
Ok, we can consider that there's a backend now, see TracMercurial…
even if it seriously lacks maintenance and progress…
Do anyone know how I could hg clone
myself? ;)
I'm setting the milestone to 0.10, as this is the corresponding Trac release for the plugin.
comment:14 by , 17 years ago
Milestone: | 0.10 → 0.11 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
how to configure?
http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.11 I follow all the instructions but always got error:
Warning: Can't synchronize with the repository (Unsupported version control system "hg". Check that the Python support libraries for "hg" are correctly installed.)
comment:15 by , 17 years ago
repository_dir = \hg\code1 repository_type = hg
[components] tracext.hg.* = enabled
[hg] # — Show revision number in addition to the changeset hash show_rev = yes
# — Changeset hash format node_format = short # hex: Show the full SHA1 hash # short: Show a shortened hash for the changesets
— so, repository_type can only be svn , not HG ?
comment:16 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
A better place would be to ask on the mailing lists and not reopen a ticket that has been closed for close to 2 years.
comment:17 by , 17 years ago
Right, you should ask on the Trac-user MailingList for support questions, as you'll likely find more people there that had and solved similar installations issues.
You should also have a look into the log, for a meaningful backtrace.
I'm adding my vote for Mercurial here too. I might even take it upon myself to do some work for this. I would even rather this over Perforce as I've written myself some scripts that will keep a Mercurial repository in sync with a Perforce one.