(Arne Babenhauserheide)
2012-11-21: FIX: too broad try-except led to crash on hg 2.1.1 FIX: too broad try-except led to crash on hg 2.1.1
diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -435,8 +435,8 @@ def getoutgoing(ui, repo, otheruri, othe
def outgoingchanges(repo, other):
from mercurial import discovery
fco = discovery.findcommonoutgoing
+ og = fco(repo, other, force=True)
try:
- og = fco(repo, other, force=True)
return og.missing
except AttributeError: # old client
common, outheads = og