aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-12 12:05:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-12 12:05:43 +0000
commit806d4b2912c3baf99aee7ca1241e262fd7e23dcb (patch)
tree7d5ab5467be512514a54889b335c2a559ca6398d
parent6f05bd05b26f3951b351fd2f11c5ae6b27ad78fb (diff)
downloadpaludis-806d4b2912c3baf99aee7ca1241e262fd7e23dcb.tar.gz
paludis-806d4b2912c3baf99aee7ca1241e262fd7e23dcb.tar.xz
Add svn+https sync support (From Ahmed Ammar)
-rw-r--r--paludis/syncer.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/paludis/syncer.cc b/paludis/syncer.cc
index 054661f..3fc068f 100644
--- a/paludis/syncer.cc
+++ b/paludis/syncer.cc
@@ -84,7 +84,7 @@ namespace
_local(local),
_remote(remote)
{
- if (0 == _remote.compare(0, 8, "svn+http", 0, 8))
+ if ((0 == _remote.compare(0, 8, "svn+http", 0, 8)) || (0 == _remote.compare(0, 9, "svn+https", 0, 9)))
_remote = _remote.erase(0, 4);
}
@@ -154,6 +154,14 @@ namespace
static const SyncerMaker::RegisterMaker register_svnplushttp_syncer("svn+http", &SvnSyncer::make);
/**
+ * Register svn+https:// protocol.
+ *
+ * \ingroup grpsyncer
+ */
+ static const SyncerMaker::RegisterMaker register_svnplushttps_syncer("svn+https", &SvnSyncer::make);
+
+
+ /**
* Register git:// protocol.
*
* \ingroup grpsyncer