From: Christian Biesinger <cbiesinger@web.de>
To: git@vger.kernel.org
Subject: [PATCH] Use a relative path for SVN importing
Date: Sat, 11 Feb 2006 16:44:11 +0100 [thread overview]
Message-ID: <1139672651713-git-send-email-cbiesinger@web.de> (raw)
In-Reply-To:
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
next reply other threads:[~2006-02-11 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 15:44 Christian Biesinger [this message]
2006-02-11 17:04 ` [PATCH] Use a relative path for SVN importing 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1139672651713-git-send-email-cbiesinger@web.de \
--to=cbiesinger@web.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).