]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

* Add a check to make sure the expected directory exists after checkout.
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 16 Oct 2007 23:51:42 +0000 (19:51 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 16 Oct 2007 23:51:42 +0000 (19:51 -0400)
debian/changelog
mr

index a4a01740111897e55d5500a4b0509eaa02c46720..b7c4b1a2341059131137b7ea07e11a9b148c7835 100644 (file)
@@ -1,3 +1,9 @@
+mr (0.3) UNRELEASED; urgency=low
+
+  * Add a check to make sure the expected directory exists after checkout.
+
+ -- Joey Hess <joeyh@debian.org>  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 4e3d73889b3080816fb9659761cd429f24baf0ce..310f99abab53edee1c8c90161780a1318c1654e4 100755 (executable)
--- 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;
                }