From 2372cb37c2960a5513ad36231dd353329bfe47b0 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sat, 27 Nov 2010 20:22:57 -0500 Subject: [PATCH] Include the invalid revision in the exception --- framework/Vcs/lib/Horde/Vcs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Vcs/lib/Horde/Vcs.php b/framework/Vcs/lib/Horde/Vcs.php index f01c559b8..22c49552e 100644 --- a/framework/Vcs/lib/Horde/Vcs.php +++ b/framework/Vcs/lib/Horde/Vcs.php @@ -194,7 +194,7 @@ class Horde_Vcs public function assertValidRevision($rev) { if (!$this->isValidRevision($rev)) { - throw new Horde_Vcs_Exception('Invalid revision number'); + throw new Horde_Vcs_Exception('Invalid revision number "' . $rev . '"'); } } -- 2.11.0