[PATCH] Fix vcsh_trusted_checkout

Lorenzo Cappelletti lorenzo.cappelletti at gmail.com
Wed May 28 06:23:39 CEST 2014


On Tue, May 27, 2014 at 9:45 PM, Joey Hess <joey at kitenet.net> wrote:

> 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?

I think you're right.  vcsh 1.20140313 supports both syntaxes:

   run <repo> \
       <command>        Use this repository
  ...
   <repo> <git command> Shortcut to run git commands directly

But there was a merge of a pull request in October last year which
moved documentation toward the simplified syntax:

https://github.com/RichiH/vcsh/commit/43f82e0bc90d8c7b5456ba29c8a8d0f4e1004361

> 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.

The shorter syntax is the standard one in vcsh's documentation and,
IMO, is more straightforward.  I think it should be supported somehow,
at least for ''vcsh_trusted_checkout' which is always used when
managing vcsh repos via mr.

-- 
Lorenzo


More information about the vcs-home mailing list