Yann Dirson wrote:
> Wow, this works just fine - but then maybe some words about this in
> the doc would be useful:

Would you like to use the benefit of your fresh perspective on mr to write a
doc patch? The bootstrap feature is fairly new, and has not been used by
many people, and could certianly stand more exposure, and/or better,
more example filled documentation.

> - it is not immediately intuitive that [.] would be a useful
>   construct, or even that it would be accepted by mr.  In fact, it is
>   possible that some backends would not allow "checking out into ."
>   and would require some more convoluted checkout line (svn maybe ?)

`svn checkout url .` will work ok. Unsure about other VCSs beyond
git and svn though.

> - the 1st repo in the .mrconfig seems to be handled specially (checked
>   out before copying the temporary bootstrap file to .mrconfig), but
>   that does not seem to be mentionned in the manpage.

It's not the first one that is specially handled, but the one for ".":

           If the .mrconfig file includes a repository named
           ".", that is checked out into the top of the
           specified directory.

The reason mr checks this out first is because certian VCSs (at least git)
refuse to check out into non-empty directories.

> - in fact it is handled so specially that the following bootstrap
>   mrconfig acts as if "chain = true" was specified, which can be
>   somewhat misleading:
> 
> ====
> [.]
> checkout = git clone <URL> .
> ====

Sorry, I don't follow, how does chaining enter into this picture if there
is only one mrconfig?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to