[Patch] Mercurial support

Mildred ml.mildred593 at online.fr
Wed May 7 16:41:45 PDT 2008


Hi,

I just discovered your project, and I find it very interesting. It's
exactly what I need, that is a way to manage bugs and issues simply,
locally.

But because i don't want to set up a complicated subversion repository
(if I like this project it's because I don't have to create an issue
tracker server, it's not to create a subversion server) I quickly
hacked support for mercurial, which is decentralized, and quick to set
up.

The patch for the version 0.7 is available here:
http://aur.archlinux.org/packages/ditrack/ditrack/hg.patch

It seems to work, but I only tested few commands (remember I just
discovered the project few hours ago, I don't have issues yet). If you
want to test, you can just do:

$ hg init
$ dt-createdb --hg issues
$ cd issues
edit the files in etc/ as you want
$ hg ci -m "added issue tracker"
work on issues :)


When the issue database is created, it add a file '.filesystem' that
contains either 'svn' or 'hg'. That way the filesystem is
automatically detected.

You can also set the environment variable DITRACK_FILESYSTEM or specify
the --fs command line option.

Something still missing: because mercurial don't have properties like
subversion, I couldn't implement ditrack:format subversion property
that check the database format. Perhaps this could be moved to a file.

And remember, this is completely untested. But perhaps in the days to
come I'll use it and fix bugs that could be there.


:)


Mildred


-- 
Mildred Ki'lya
E-Mail:	mildred593(at)online.fr

Site:	<http://mildred632.free.fr/>
XMPP:	<mildred at jabber.fr> (GoogleTalk, Jabber)

GPG:	197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]


More information about the Dev mailing list