[PATCH] Fix vcsh_trusted_checkout

Joey Hess joey at kitenet.net
Tue May 27 21:45:45 CEST 2014


Lorenzo Cappelletti wrote:
> Signed-off-by: Lorenzo Cappelletti <lorenzo.cappelletti at gmail.com>
> ---
>  mr | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mr b/mr
> index ddc0738..ecd1c02 100755
> --- a/mr
> +++ b/mr
> @@ -2076,7 +2076,7 @@ bzr_trusted_checkout = bzr checkout|clone|branch|get $url $repo
>  hg_trusted_checkout = hg clone $url $repo
>  darcs_trusted_checkout = darcs get $url $repo
>  git_bare_trusted_checkout = git clone --bare $url $repo
> -vcsh_trusted_checkout = vcsh run "$MR_REPO" git clone $url $repo
> +vcsh_trusted_checkout = vcsh clone $url $repo
>  # fossil: messy to do
>  veracity_trusted_checkout = vv clone $url $repo

I don't really use vcsh, so my guess is that the former syntax was
needed by an old version and it has been simplified to the new syntax?

This change would break mrconfig files containing the old syntax. I don't
know how common that is. It could support both syntaxes, by using
vcsh_trusted_checkout_old to give the template for the old syntax.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20140527/377a1cf6/attachment.sig>


More information about the vcs-home mailing list