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/80vHUQ8AsAYAbkLcz1jkfk3YwYDP8jbJCqcwJRt9ialYKJwvXlEe0TMeGdq7EjCO0z/pIpu82k2R/C0FtCFih3bUvJEmWoVVx8UGkDDQEORLbzxQCt0IOiQGFcoCCxgQmL0x9ZoljCWg5vZuuhU4uSOuRTuM+aa4xoLkeOcvgGRSOXrqfkV8JpWKoJB4dmY2qSuxw8LsAAzK0=
+ed18f4acf435a2824c6f49fba40f42b9df5da7ad 0 iQIVAwUAVWy9mCBXgaxoKi1yAQIm+Q/+I/tV8DC51d4f/6T5OR+motlIx9U5za5p9XUUzfp3tzSY2PutVko/FclajVdFekZsK5pUzlh/GZhfe1jjyEEIr3UC3yWk8hMcvvS+2UDmfy81QxN7Uf0kz4mZOlME6d/fYDzf4cDKkkCXoec3kyZBw7L84mteUcrJoyb5K3fkQBrK5CG/CV7+uZN6b9+quKjtDhDEkAyc6phNanzWNgiHGucEbNgXsKM01HmV1TnN4GXTKx8y2UDalIJOPyes2OWHggibMHbaNnGnwSBAK+k29yaQ5FD0rsA+q0j3TijA1NfqvtluNEPbFOx/wJV4CxonYad93gWyEdgU34LRqqw1bx7PFUvew2/T3TJsxQLoCt67OElE7ScG8evuNEe8/4r3LDnzYFx7QMP5r5+B7PxVpj/DT+buS16BhYS8pXMMqLynFOQkX5uhEM7mNC0JTXQsBMHSDAcizVDrdFCF2OSfQjLpUfFP1VEWX7EInqj7hZrd+GE7TfBD8/rwSBSkkCX2aa9uKyt6Ius1GgQUuEETskAUvvpsNBzZxtvGpMMhqQLGlJYnBbhOmsbOyTSnXU66KJ5e/H3O0KRrF09i74v30DaY4uIH8xG6KpSkfw5s/oiLCtagfc0goUvvojk9pACDR3CKM/jVC63EVp2oUcjT72jUgSLxBgi7siLD8IW86wc=
--- a/.hgtags Mon Jun 01 22:46:05 2015 -0400
+++ b/.hgtags Tue Jun 02 13:24:39 2015 -0500
@@ -120,3 +120,4 @@
2e2e9a0750f91a6fe0ad88e4de34f8efefdcab08 3.3.3
e89f909edffad558b56f4affa8239e4832f88de0 3.4-rc
8cc6036bca532e06681c5a8fa37efaa812de67b5 3.4
+ed18f4acf435a2824c6f49fba40f42b9df5da7ad 3.4.1
--- a/mercurial/hgweb/hgwebdir_mod.py Mon Jun 01 22:46:05 2015 -0400
+++ b/mercurial/hgweb/hgwebdir_mod.py Tue Jun 02 13:24:39 2015 -0500
@@ -355,6 +355,7 @@
contact = get_contact(get)
description = get("web", "description", "")
+ seenrepos.add(name)
name = get("web", "name", name)
row = {'contact': contact or "unknown",
'contact_sort': contact.upper() or "unknown",
@@ -369,7 +370,6 @@
'isdirectory': None,
}
- seenrepos.add(name)
yield row
sortdefault = None, False
--- a/tests/test-hgwebdir.t Mon Jun 01 22:46:05 2015 -0400
+++ b/tests/test-hgwebdir.t Tue Jun 02 13:24:39 2015 -0500
@@ -56,6 +56,13 @@
$ echo f2 > f/f2/f2
$ hg --cwd f/f2 ci -Amf2 -d '4 0'
adding f2
+ $ echo 'f2 = f2' > f/.hgsub
+ $ hg -R f ci -Am 'add subrepo' -d'4 0'
+ adding .hgsub
+ $ cat >> f/.hg/hgrc << EOF
+ > [web]
+ > name = fancy name for repo f
+ > EOF
$ cd ..
create repository without .hg/store
@@ -305,7 +312,7 @@
</tr>
<tr>
- <td><a href="/coll/notrepo/f/?style=paper">coll/notrepo/f</a></td>
+ <td><a href="/coll/notrepo/f/?style=paper">fancy name for repo f</a></td>
<td>unknown</td>
<td>Foo Bar <foo.bar@example.com></td>
<td class="age">*</td> (glob)
@@ -409,7 +416,7 @@
</tr>
<tr>
- <td><a href="/rcoll/notrepo/f/?style=paper">rcoll/notrepo/f</a></td>
+ <td><a href="/rcoll/notrepo/f/?style=paper">fancy name for repo f</a></td>
<td>unknown</td>
<td>Foo Bar <foo.bar@example.com></td>
<td class="age">*</td> (glob)
@@ -500,7 +507,7 @@
</tr>
<tr>
- <td><a href="/star/webdir/notrepo/f/?style=paper">star/webdir/notrepo/f</a></td>
+ <td><a href="/star/webdir/notrepo/f/?style=paper">fancy name for repo f</a></td>
<td>unknown</td>
<td>Foo Bar <foo.bar@example.com></td>
<td class="age">*</td> (glob)
@@ -604,7 +611,7 @@
</tr>
<tr>
- <td><a href="/starstar/webdir/notrepo/f/?style=paper">starstar/webdir/notrepo/f</a></td>
+ <td><a href="/starstar/webdir/notrepo/f/?style=paper">fancy name for repo f</a></td>
<td>unknown</td>
<td>Foo Bar <foo.bar@example.com></td>
<td class="age">*</td> (glob)
@@ -900,6 +907,7 @@
$ cat >> paths.conf <<EOF
> [web]
> collapse=true
+ > descend = true
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-3.log