All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use a relative path for SVN importing
@ 2006-02-11 15:44 Christian Biesinger
  2006-02-11 17:04 ` Christian Biesinger
  2006-02-13 20:52 ` git-svnimport -d and -D options (was Re: [PATCH] Use a relative path for SVN importing) Eduardo Pereira Habkost
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Biesinger @ 2006-02-11 15:44 UTC (permalink / raw)
  To: git

The absolute path (with the leading slash) breaks SVN importing, because it then
looks for /trunk/... instead of /svn/trunk/... (in my case, the repository URL
was https://servername/svn/)

Signed-off-by: Christian Biesinger <cbiesinger@web.de>

---

 git-svnimport.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

7718b5a5fec01c0774f6b9cdc84f908e68b403ac
diff --git a/git-svnimport.perl b/git-svnimport.perl
index b6799d8..f17d5a2 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -318,7 +318,7 @@ sub get_file($$$) {
 			die $res->status_line." at $url\n";
 		}
 	} else {
-		$name = $svn->file("/$svnpath",$rev);
+		$name = $svn->file("$svnpath",$rev);
 		return undef unless defined $name;
 	}
 
-- 
1.1.6.g486a-dirty

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-13 20:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-11 15:44 [PATCH] Use a relative path for SVN importing Christian Biesinger
2006-02-11 17:04 ` Christian Biesinger
2006-02-13 20:52 ` git-svnimport -d and -D options (was Re: [PATCH] Use a relative path for SVN importing) Eduardo Pereira Habkost

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.