From: Joey Hess Date: Wed, 28 May 2014 05:08:24 +0000 (-0400) Subject: Support "vcsh clone url repo" as trusted checkout syntax, while still supporting... X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/bec1b0321b56410a91383b3e6d5efacff9cc14a9?hp=-c Support "vcsh clone url repo" as trusted checkout syntax, while still supporting the old syntax. --- bec1b0321b56410a91383b3e6d5efacff9cc14a9 diff --git a/debian/changelog b/debian/changelog index f2cf42e..6aa65a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ myrepos (1.20140228) UNRELEASED; urgency=medium Closes: #743882 * Make mr help work even if the mrconfig file is busted. Thanks, Lorenzo Cappelletti + * Support "vcsh clone url repo" as trusted checkout syntax, + while still supporting the old syntax. -- Joey Hess Mon, 07 Apr 2014 17:58:58 -0400 diff --git a/mr b/mr index 4cd3c2e..e807778 100755 --- a/mr +++ b/mr @@ -2094,7 +2094,8 @@ 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_old_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