From: Joey Hess Date: Tue, 16 Oct 2007 23:51:42 +0000 (-0400) Subject: * Add a check to make sure the expected directory exists after checkout. X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/e5dd85021198561461d46c50b41a927ef9e6050a * Add a check to make sure the expected directory exists after checkout. --- diff --git a/debian/changelog b/debian/changelog index a4a0174..b7c4b1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mr (0.3) UNRELEASED; urgency=low + + * Add a check to make sure the expected directory exists after checkout. + + -- Joey Hess Tue, 16 Oct 2007 19:51:14 -0400 + mr (0.2) unstable; urgency=low * Fix line number display for config file parse errors. diff --git a/mr b/mr index 4e3d738..310f99a 100755 --- a/mr +++ b/mr @@ -462,6 +462,12 @@ sub action { #{{{ } } else { + if ($action eq 'checkout' && ! -d $dir) { + print STDERR "mr $action: $dir missing after checkout\n";; + push @failed, $dir; + return; + } + push @ok, $dir; }