Repository on CIFS

Augie Fackler raf at durin42.com
Sat Nov 23 21:35:48 CST 2013


On Nov 23, 2013, at 3:08 PM, Koen Vermeer <koen at vermeer.tv> wrote:

> Hi,
> 
> I have set up a Linux server that we can use to access our repositories. It runs the hgweb.wsgi script through nginx and uwsgi. This seems to work fine when the repositories are stored locally on the server.
> 
> However, I was trying to store them on a CIFS mount. I've only done some quick tests, but I ran into a problem: It seems that when folders need to be created, it fails. Repeating the same operation (sometimes a few times) works. I was wondering if I'm just missing some detail, or that this setup is not expected to work.
> 
> I was unable to find any suggestions on, for example, mount options to use for such a setup. I'd be grateful for any help!

Is there a particular infrastructural reason you're trying to use CIFS? Mercurial depends (intentionally) on some particular features of local filesystems, and using something like CIFS is generally a recipe for repository corruption.

Can you clone over ssh instead, and push and pull via ssh?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial/attachments/20131123/2ca1b20a/attachment.pgp>


More information about the Mercurial mailing list