git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Proper URI for "svn clone" on a network share (Win32)

From
TCTim 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
Previous: Tim Chase
Message 7 of 7 in “Proper URI for "svn clone" on a network share (Win32)”
  1. Tim ChaseAug 14, 2013
  2. Tim ChaseAug 14, 2013
  3. John KeepingAug 15, 2013
  4. Tim ChaseAug 15, 2013
  5. John KeepingAug 15, 2013
  6. Tim ChaseAug 15, 2013
  7. Tim ChaseAug 21, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.