From bec1b0321b56410a91383b3e6d5efacff9cc14a9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 May 2014 01:08:24 -0400 Subject: [PATCH] Support "vcsh clone url repo" as trusted checkout syntax, while still supporting the old syntax. --- debian/changelog | 2 ++ mr | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2