aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2006-06-30 13:19:13 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2006-06-30 13:19:13 +0000
commit57a036499cec0d510f5ffda0121b0ffc3441637e (patch)
tree84bd7ca44d56a2d462b9bf25dcdcaf7c66a89154
parenta1c065109506c5a45f56d40c3a3f70adb5917e8f (diff)
downloadpaludis-57a036499cec0d510f5ffda0121b0ffc3441637e.tar.gz
paludis-57a036499cec0d510f5ffda0121b0ffc3441637e.tar.xz
Add svn+http syncer
-rw-r--r--paludis/syncer.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/syncer.cc b/paludis/syncer.cc
index 3f52dfe..b29a6c1 100644
--- a/paludis/syncer.cc
+++ b/paludis/syncer.cc
@@ -82,6 +82,8 @@ namespace
_local(local),
_remote(remote)
{
+ if (0 == _remote.compare(0, 8, "svn+http", 0, 8))
+ _remote = _remote.erase(0, 4);
}
public:
@@ -143,6 +145,13 @@ namespace
static const SyncerMaker::RegisterMaker register_svnplusssh_syncer("svn+ssh", &SvnSyncer::make);
/**
+ * Register svn+http:// protocol.
+ *
+ * \ingroup grpsyncer
+ */
+ static const SyncerMaker::RegisterMaker register_svnplushttp_syncer("svn+http", &SvnSyncer::make);
+
+ /**
* Register git:// protocol.
*
* \ingroup grpsyncer