Add -k "" to the mtn pull command

If someone has a monotone key but does not have push rights, the server will
restrict the pull; by specifying a "" as the key, the pull will succeed.
This commit is contained in:
kytv
2011-12-27 23:08:37 +00:00
parent ea52f3db20
commit d3b5a0ec50

View File

@ -576,14 +576,14 @@
<p>
If you only want I2P sources:
<ul>
<li>$ mtn --db="i2p.mtn" pull 127.0.0.1:8998 i2p.i2p</li>
<li>$ mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 i2p.i2p</li>
</ul>
</p>
<p>
If you want all branches:
<ul>
<li>$ mtn --db="i2p.mtn" pull 127.0.0.1:8998 "i2p.*"</li>
<li>$ mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 "i2p.*"</li>
</ul>
</p>
@ -869,7 +869,7 @@
Monotone repository. To accomplish this, change into the directory where
`i2p.mtn` is located and issue:
<ul>
<li>$ mtn --db="i2p.mtn" pull 127.0.0.1:8998 i2p.i2p</li>
<li>$ mtn --db="i2p.mtn" -k "" pull 127.0.0.1:8998 i2p.i2p</li>
</ul>
</p>