aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-08 04:17:39 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-08 04:17:39 +0000
commit710a9b37825712cf4377e3709dd03a2e3410a016 (patch)
treeaa3e84bc9c1eef0fc0d0edc76f7235536004dd41 /doc
parent9e28f4b33feacca4f6c371f3885da7bd946a899b (diff)
downloadikiwiki-710a9b37825712cf4377e3709dd03a2e3410a016.tar
ikiwiki-710a9b37825712cf4377e3709dd03a2e3410a016.tar.gz
web commit by http://ethan.betacantrips.com/: helpful to me, anyhow
Diffstat (limited to 'doc')
-rw-r--r--doc/patchqueue/better_error_in_srcfile.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/patchqueue/better_error_in_srcfile.mdwn b/doc/patchqueue/better_error_in_srcfile.mdwn
new file mode 100644
index 000000000..07cfd5ec0
--- /dev/null
+++ b/doc/patchqueue/better_error_in_srcfile.mdwn
@@ -0,0 +1,17 @@
+Just a one-liner patch to make srcfile more descriptive when it fails. --Ethan
+
+<pre>
+Index: IkiWiki.pm
+===================================================================
+--- IkiWiki.pm (revision 3194)
++++ IkiWiki.pm (working copy)
+@@ -247,7 +247,7 @@
+
+ return "$config{srcdir}/$file" if -e "$config{srcdir}/$file";
+ return "$config{underlaydir}/$file" if -e "$config{underlaydir}/$file";
+- error("internal error: $file cannot be found");
++ error("internal error: $file cannot be found in $config{srcdir} or $config{underlaydir}");
+ } #}}}
+
+ sub readfile ($;$$) { #{{{
+</pre> \ No newline at end of file