hg site extension
 
(Arne Babenhauserheide)
2011-11-06: added bug

added bug

diff --git a/.bugs/bugs b/.bugs/bugs
--- a/.bugs/bugs
+++ b/.bugs/bugs
@@ -1,3 +1,4 @@
+push all bookmarks too                                                                                                                     | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:0661fcb89dfedcd564bdb2d4865d41b58494ac2e, time:1320547191.52
 add sourcecode coloring to the src files.                                                                                                  | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:09715a67cfabe2de0901f0472610c2285626e0e7, time:1319147685.11
 Add a list of branches, heads and tags to the summary page.                                                                                | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:0fde104c4206be8245ff0716ee2e91ea3971db8f, time:1319147651.17
 if b is used: a bugtracker: issue/<id>/<name>                                                                                              | owner:Arne Babenhauserheide <bab@draketo.de>, open:True, id:1d631d51ff06b3bdca50e21da3d6a00bcb801c85, time:1319147632.52
diff --git a/site.py b/site.py
--- a/site.py
+++ b/site.py
@@ -311,7 +311,7 @@ def addrepo(ui, repo, target):
         # already exists
         pass
     ui.pushbuffer()
-    commands.push(ui, repo, dest=target)
+    commands.push(ui, repo, dest=target, bookmark=True)
     ui.popbuffer()
 
 
@@ -421,6 +421,7 @@ def staticsite(ui, repo, target=None, **
         ui.warn(_("static target repo can’t be the current repo"))
         return
     if not target: target = "static"
+    print repo["."].branch()
     # add the hg repo to the static site
     addrepo(ui, repo, target)
     # first: just create the site.