From e5dd85021198561461d46c50b41a927ef9e6050a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 Oct 2007 19:51:42 -0400 Subject: [PATCH] * Add a check to make sure the expected directory exists after checkout. --- debian/changelog | 6 ++++++ mr | 6 ++++++ 2 files changed, 12 insertions(+) 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; } -- 2.39.5