Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15294745
D7920.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
676 B
Referenced Files
None
Subscribers
None
D7920.diff
View Options
Index: scripts/repository/commit_hook.php
===================================================================
--- scripts/repository/commit_hook.php
+++ scripts/repository/commit_hook.php
@@ -17,12 +17,12 @@
->executeOne();
if (!$repository) {
- throw new Exception(pht('No such repository "%s"!', $callsign));
+ throw new Exception(pht('No such repository "%s"!', $argv[1]));
}
if (!$repository->isHosted()) {
// This should be redundant, but double check just in case.
- throw new Exception(pht('Repository "%s" is not hosted!', $callsign));
+ throw new Exception(pht('Repository "%s" is not hosted!', $argv[1]));
}
$engine->setRepository($repository);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 10:40 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7239771
Default Alt Text
D7920.diff (676 B)
Attached To
Mode
D7920: Changed \$callsign to \$argv[1] on commit_hook.php since is undefined causing an error when trying to report an error.
Attached
Detach File
Event Timeline
Log In to Comment