hg site extension
 
(Arne Babenhauserheide)
2012-11-01: tags work again.

tags work again.

diff --git a/.bugs/bugs b/.bugs/bugs
--- a/.bugs/bugs
+++ b/.bugs/bugs
@@ -8,7 +8,7 @@ get mtimes from the repo instead of quer
 FIX: revision 0 is omitted: change that :)                   | owner:Arne Babenhauserheide <bab@draketo.de>, open:False, id:29396f1753e45b5a37ffa0ce04d96c876d6b6722, time:1319209563.68
 parse the pushed repo, not the local one.                    | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:2c26d62b62e3656ebcce43e7a24f627594911fb5, time:1322115065.37
 revisions more structured, as list or similar.               | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:39cacfc83da6f6beecafdb745823d7f01018206b, time:1322159357.88
-tags do not have a heading on the overview anymore           | owner:, open:True, id:485d0b451f18b5eae517b34466622b0d52340d8e, time:1351620233.63
+tags do not have a heading on the overview anymore           | owner:, open:False, id:485d0b451f18b5eae517b34466622b0d52340d8e, time:1351620233.63
 only write .statichgrepo print.css style.css and index.html when their data changed \(or \-\-force\) → read them and compare the contents. | owner:Arne Babenhauserheide <bab@draketo.de>, open:False, id:4f02149269a60fca85aa040116b2789d98c906f2, time:1319212903.98
 sort tags in reverse order                                   | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:61d256ab154e64597be604d6298daa545d4a96c7, time:1322159250.01
 add proper caching of every ftp directory listing.           | owner:Arne Babenhauserheide <bab@draketo.de>, open:False, id:750692931106d78ffc38c1ed63013c4dac4099dd, time:1319175393.07
diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -257,10 +257,13 @@ def writeoverview(ui, repo, target, name
             branches.extend(heads)
             
     try: 
-        # FIXME: For some reason this does not seem to give the tags anymore.
-        tags = repo._tags
+        tags = repo.tags()
     except AttributeError: 
-        tags = []
+        try: 
+            # FIXME: For some reason this does not seem to give the tags anymore.
+            tags = repo._tags
+        except AttributeError: 
+            tags = []
     try: 
         bookmarks = repo._bookmarks
     except AttributeError: