Skip to content

Commit 971fc7b

Browse files
committed
Include HgWeb output in warning message
1 parent cb1b5de commit 971fc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SourceHgWeb/SourceHgWeb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private function commit_changeset( $p_repo, $p_input, $p_branch='' ) {
255255

256256
# Check we haven't exhausted the input
257257
if ( $i == count( $t_input )) {
258-
echo 'repository may be empty?\n';
258+
echo "Unexpected HgWeb response (" . trim( $p_input ) . ") - repository may be empty.\n";
259259
return array (null, array());
260260
}
261261

0 commit comments

Comments
 (0)