diff -r 45765264ae3a -r c2e3bc99fba4 tests/test-hgweb.t
--- a/tests/test-hgweb.t Thu May 31 16:52:02 2018 +0800
+++ b/tests/test-hgweb.t Thu May 31 18:01:54 2018 +0800
@@ -287,11 +287,7 @@
-
- [up] |
- |
- drwxr-xr-x |
-
+
@@ -802,6 +798,17 @@
200 Script output follows
changeset 0:2ef0ac749a14
+no '[up]' entry in file view when in root directory
+
+ $ get-with-headers.py localhost:$HGPORT 'file/tip?style=paper' | grep -F '[up]'
+ [1]
+ $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=paper' | grep -F '[up]'
+ [up]
+ $ get-with-headers.py localhost:$HGPORT 'file/tip?style=coal' | grep -F '[up]'
+ [1]
+ $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]'
+ [up]
+
no style can be loaded from directories other than the specified paths
$ mkdir -p x/templates/fallback
|