xuyongli73 / tortoisegit

Automatically exported from code.google.com/p/tortoisegit
1 stars 0 forks source link

error while creating repository on SMB networ share #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. navigate to a network share (ex: \\myServer\MyDocs
2. create a directory
3. select "Git create repository here"
4. error message: "Subversion reported an error while creating a
repository! Make sure the folder is empty and not write protected"

What is the expected output? What do you see instead?

a .git directory is still created, but no commit are possible.

If I create a drive on the same network directory, it is OK

What version of the product are you using? On what operating system?
TortoiseGit 0.5.1.0 32bit 
Windows XP SP2

Please provide any additional information below.

Original issue reported on code.google.com by pierre2m...@gmail.com on 16 Apr 2009 at 9:11

GoogleCodeExporter commented 9 years ago
Does command line (git init-db) support it?

Original comment by lzn...@gmail.com on 16 Apr 2009 at 9:34

GoogleCodeExporter commented 9 years ago
this command is not known on my installation (I am pretty new to git). As long 
as it
works with a network disk, maybe it doesn't have to be marked as an issue..

Original comment by pierre2m...@gmail.com on 17 Apr 2009 at 8:59

GoogleCodeExporter commented 9 years ago
i get the same error message: "Subversion reported an error while creating a
repository! Make sure the folder is empty and not write protected"

i use TortoiseGit-0.7.2.0-32bit.msi and msysGit-fullinstall-1.6.3.2-
preview20090607.exe

after read tortoisegit homepage again, i find that tortoisegit need git 1.6.1.

i then download and install Git-1.6.1-preview20081227.exe, everything is Ok.

maybe helpful for you ;)

Original comment by tengyil...@gmail.com on 28 Jun 2009 at 5:11

GoogleCodeExporter commented 9 years ago
It seems msysgit problem. Anyway, I will change error message. 

Original comment by lzn...@gmail.com on 29 Jun 2009 at 8:11

GoogleCodeExporter commented 9 years ago
The following FAQ entry may be of interest:
http://git.or.cz/gitwiki/GitFaq#WhatcanIusetosetupapublicrepository.3F

The important bit:
# It seems not everyone thinks that SMBFS is a good idea; several people on 
#git hold
the opinion that SMBFS should not be used with git.

So perhaps this bug is a manifestation of some of these problems?  I used to 
use SMB
to connect my Unix boxes, but once I started using Git, things didn't work very 
well
so I switched to NFS (local network, so the downsides of NFS are negligible), 
and
couldn't have been happier about it.  NFS can't solve this issue (since we're on
Windows here), but hopefully my comments are at least somewhat informative!

Original comment by admwiggin on 17 Jul 2009 at 9:27

GoogleCodeExporter commented 9 years ago
Looks like there may be a patch made. 
http://code.google.com/p/msysgit/issues/detail?
id=411

Original comment by prab...@gmail.com on 30 Mar 2010 at 12:50

GoogleCodeExporter commented 9 years ago
msysgit problem

Original comment by lzn...@gmail.com on 4 Apr 2010 at 1:19