Project

General

Profile

Repository over SMB

Added by Matt Brown over 14 years ago

Hello,

How can I configure a repo over SMB?

I am attempting to use UNC paths:

\\server\source\reporoot<pre>

Redmine appears to add a "/" as a suffix, which leaves the following failure:
<pre>An error occurred when trying to access the repository: No such file or directory - hg -R "\\server\source\reporoot/" --cwd "\\server\source\reporoot/" locate -r tip</pre>

I have also tried the following syntax, all result the same previously listed error...
\\server\source\reporoot
file://///server/source/reporoot

Note that the following works from the command line on the server hosting redmine:
<pre>hg -R \\server\source\reporoot\ --cwd \\server\source\reporoot\ locate -r tip</pre>

Any help is appreciated.

Thanks,

Matt


Replies (1)

RE: Repository over SMB - Added by Matt Brown over 14 years ago

After adding the hg to the PATH, needed to restart webrick in order to have the environmental variables update to the PATH that the ruby process was passing to redmine.

Problem resolved.

    (1-1/1)