If you want to do an anonymous pull of something with monotone, a few steps are required:
- mtn --db=... db init
- mtn --db=... pull ... ...
- mtn --db=... co .. ..
I created a little script (apull.sh) that automates this:
- Creates the database in a temporary directory
- does an anonymous pull
- checks out the branch that you pulled
- moves the database from the temporary directory into the monotone metadata directory _MTN
You can download a version of it here.
You can also get it from the monotone server on mudshark.org on the org.mudshark.jack.proj.mtn-apull branch.