From 493eba81bae75a9901c08daa6b8a7eb4fb34572c Mon Sep 17 00:00:00 2001
From: str4d
Date: Wed, 8 Jan 2014 02:14:31 +0000
Subject: [PATCH] Use new mtn URL syntax in guides (ticket #1156)
---
i2p2www/pages/site/get-involved/guides/monotone.html | 6 +++---
i2p2www/pages/site/get-involved/guides/new-developers.html | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/i2p2www/pages/site/get-involved/guides/monotone.html b/i2p2www/pages/site/get-involved/guides/monotone.html
index d066b2b6..d37a399c 100644
--- a/i2p2www/pages/site/get-involved/guides/monotone.html
+++ b/i2p2www/pages/site/get-involved/guides/monotone.html
@@ -280,7 +280,7 @@
If you only want I2P sources:
{%- endtrans %}
- $ mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 i2p.i2p
+ $ mtn --db="i2p.mtn" -k "" pull "mtn://127.0.0.1:8998?i2p.i2p"
@@ -289,7 +289,7 @@
If you want all branches:
{%- endtrans %}
- $ mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 "i2p.*"
+ $ mtn --db="i2p.mtn" -k "" pull "mtn://127.0.0.1:8998?i2p.*"
{% trans -%}
If the transfer aborts before completing sucessfully, simply repeating the pull command will resume the transfer.
@@ -389,7 +389,7 @@ directory where i2p.mtn
was created and attempt a checkout of the I
Monotone repository. To accomplish this, change into the directory where
i2p.mtn
is located and issue:
- - $
mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 i2p.i2p
+ - $
mtn --db="i2p.mtn" -k "" pull "mtn://127.0.0.1:8998?i2p.i2p"
{%- endtrans %}
diff --git a/i2p2www/pages/site/get-involved/guides/new-developers.html b/i2p2www/pages/site/get-involved/guides/new-developers.html
index d935e00f..910a350f 100644
--- a/i2p2www/pages/site/get-involved/guides/new-developers.html
+++ b/i2p2www/pages/site/get-involved/guides/new-developers.html
@@ -75,10 +75,10 @@ Copy and paste the developer's commit keys into a ne
{%- endtrans %}
{% trans %}Pull the I2P sources to your machine. This may take a long time, especially if you are doing this over I2P!{% endtrans %}
- - {% trans %}Anonymously:{% endtrans %}
mtn -d i2p.mtn pull 127.0.0.1:8998 i2p.i2p -k""
+ - {% trans %}Anonymously:{% endtrans %}
mtn -d i2p.mtn -k "" pull "mtn://127.0.0.1:8998?i2p.i2p"
-
- {% trans %}Non-anonymously:{% endtrans %} mtn -d i2p.mtn pull mtn.i2p2.de i2p.i2p -k""
+ {% trans %}Non-anonymously:{% endtrans %} mtn -d i2p.mtn -k "" pull "mtn://mtn.i2p2.de?i2p.i2p"
{% trans -%}
Alternatively, instead of 'mtn.i2p2.de', you can also download from mtn.i2p-projekt.de.