On Tue, 19 Apr 2011 20:42:57 +0200 Richard Hartmann wrote:

> Given that I am forced to specify a path anyway, the checkout should
> obviously end up in work/git/ikiwiki . While shooting myself in the
> foot by providing a different checkout path is of course my
> privilege, but mr should default to doing the correct thing.

I think that since `mr register` outputs the correct command but that
the command you have written is broken, there is not much to do here.
 
> Would it be acceptable to introduce a new config option like
> 
>   source = git+ssh://repo.or.cz/srv/git/foo
> 
> that way, mr could Dot The Right Thing by default while still allowing
> 'checkout' to do whatever the user wants it to.

I'm leaning towards not having this, it feels like extra complexity and
reduced flexibility.

Perhaps mr could instead have a mode that checks the current value of
checkout for the repo with the one `mr register` would output for the
repo as it is now.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to