From: Joey Hess Date: Sun, 21 Oct 2007 06:09:56 +0000 (-0400) Subject: assume any action with "update" in its name is like update, and should checkout inste... X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/28cccf92fefcf21e0715902bfb154c2925c60b68?ds=sidebyside assume any action with "update" in its name is like update, and should checkout instead if the directory isn't present not very happy with this, but it makes the quietupdate hack work.. --- diff --git a/mr b/mr index 76c629c..433354b 100755 --- a/mr +++ b/mr @@ -488,7 +488,7 @@ sub action { #{{{ system("mkdir", "-p", $dir); } } - elsif ($action eq 'update') { + elsif ($action =~ /update/) { if (! -d $dir) { return action("checkout", $dir, $topdir, $subdir); }