summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 08:08:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 08:08:34 +0000
commita968efd3d6cc8aa810d42880e167106a83172bfd (patch)
treee85c1edd0ed6664112e64ea46ba7a481836614da /doc
parent70827dd3d13f46f4c8c7f33cd62c5873318def9c (diff)
web commit by tuomov: solution to one problem, and maybe another
Diffstat (limited to 'doc')
-rw-r--r--doc/patchqueue/index.html_allowed.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/patchqueue/index.html_allowed.mdwn b/doc/patchqueue/index.html_allowed.mdwn
index ad7a4ae79..7a544fca1 100644
--- a/doc/patchqueue/index.html_allowed.mdwn
+++ b/doc/patchqueue/index.html_allowed.mdwn
@@ -294,6 +294,16 @@ I'll attach an updated and slightly modified version below.
innefficient since it leads to a http redirect when clicking on that
link. Seems to be limited to ".." links, and possibly only to
parentlinks. (Already fixed it for "." links.)
+
+ > The solution seems to be to add to `urlto` the following snippet,
+ > which might also help with the next point. (Sorry, no updated patch
+ > yet. Should be on my way out in the cold anyway...)
+
+ if ( !length $to ) {
+ return baseurl($from);
+ }
+
+
* It calles abs2rel about 16% more often with the patch, which makes it
a bit slower, since abs2rel is not very efficient. (This omits abs2rel
calls that might be memoized away already.) This seems to be due to one