Repository View (Mercurial)

Added by Marc Dietrichstein 211 days ago

hi everyone,

I've installed redmine and added a project with a mercurial repo.
Everything works fine so far, the only problem i have is how the repository view works.

atm it shows every file with it's full path, like:
src/main.cpp
src/main.h
Jamfile
I'd like to have the following view:
src
Jamfile
And when i click on src:
main.cpp
main.h

Is there a way to make the repository view browsable or is this just the way redmine handles it?




Replies

RE: Repository View (Mercurial) - Added by Thomas Lecavelier 210 days ago

Can you precise which version of redmine you're using, and which database?

Thank you.

RE: Repository View (Mercurial) - Added by Marc Dietrichstein 210 days ago

Thanks for your reply.

redmine = 0.6.3
The databse is postgresql (version 8.3)

And redmine is integrated into lighttp via fastcgi.

RE: Repository View (Mercurial) - Added by Marc Dietrichstein 210 days ago

Just discovered the patch regarding this issue (Patch #826) and applied it.
Works like a charm now.

Thanks Mr. Frédéric Moulins :)

RE: Repository View (Mercurial) - Added by Thomas Eccard 204 days ago

Hi,

I tried to add a Mercurial repository, but when I want to browse it using Redmine, I get the following error message: Entry and/or revision doesn't exist in the repository.

What could be the problem?

I also pointed the repo to a dummy folder that is not a repository, and it gave the same error message.

Should I point to the directory itself? to the .hg? An other directory?

RE: Repository View (Mercurial) - Added by Pau Rul·lan Ferragut 3 days ago

You have to point the directory without the final slash: /home/username/repo