Actions
Patch #826
closedFix browsing mercurial repositories
Patch #826:
Fix browsing mercurial repositories
Description
Running redmine on linux, I wasn't able to browse a mercurial repository.
Listing entries usinghg locate :
- should use '/' to split entries path, not '\' ('\\').
- should filter files with
glob:**. Restricting paths to a depth of 2 does not work for deep repository trees like :
Files
Updated by Thomas Lecavelier over 18 years ago
Patch successfully used by a user: http://www.redmine.org/boards/2/topics/show/26
Updated by Jean-Philippe Lang over 18 years ago
Thanks for pointing out this problem.
I made slight changes to your patch to preserve win32 compatibility and committed it in r1228.
Here are the changes:
=> (makes it work under win32, but not sure for *nix)
and
=>
Please, let me know if the first change is not ok.
Updated by Jean-Philippe Lang over 18 years ago
- Status changed from New to Resolved
In r1229, glob:** is quoted properly depending on the os.
It should work fine on both *nix and win32 os.
Updated by Frédéric Moulins over 18 years ago
Works very well for me.
Thanks for the clarification !
Updated by Jean-Philippe Lang over 18 years ago
- Status changed from Resolved to Closed
Actions