Re: Proper URI for "svn clone" on a network share (Win32)
- From
- Tim Chase <git@tim.thechases.com>
- Date
- Aug 21, 2013, 00:11 UTC
- Message-ID
- <20130820191153.377e93d1@bigbox.christie.dr>
- In-Reply-To
- <20130814124933.77b51a04@bigbox.christie.dr>
On 2013-08-14 12:49, Tim Chase wrote:
Show 19 quoted lines
> c:\temp> git svn clone "file:///x:/path/to/repo/trunk/utils/project1" > > but get various failures. My best-effort (above) gets me as far as > actually starting some sort of clone but it dies with > > """ > Permission denied: Can't open '/tmp/report.tmp': Permission denied > at /usr/lib/perl5/site_perl/Git/SVN.pm line 1210 > """ > > PS: I don't really care much about pushing back to svn, existing > svn branches or tags, or username mapping. If needed, I can apply > patches out of git which is far less painful than switching/merging > branches in svn. So I can be a little rough-shod with cloning the > svn repo. > > PPS: in case it matters: > C:\work\utils\temp\ios>git version > git version 1.8.3.msysgit.0
Just tickling this thread. I tried John Keeping's suggestions on setting TMPDIR to some known location, but I continue getting the same error about "Can't open '/tmp/report.tmp': Permission denied..." both in cmd.exe and within the bash.exe that comes with msysgit.
In additional peculiarity from my testing, if I point a true Linux shell at the same network-mounted drive, it seems to work just fine:
tim@host:/tmp$ git svn clone file:///mnt/svnroot/trunk/utils/project1 tim@host:/tmp$ git --version git version 1.5.6.5
(yeah, that's a REALLY ancient version of git on an old Debian Lenny box, but if *that* works, 1.8.x shouldn't have ANY trouble with it)
Any further ideas?
-tkc