--- a/mercurial/hg.py Sat Jul 25 02:20:27 2009 +0200 +++ b/mercurial/hg.py Sat Jul 25 19:04:08 2009 -0500 @@ -138,7 +138,7 @@ try: uprev = r.lookup(test) break - except: + except LookupError: continue _update(r, uprev)