diff hggit/git_handler.py @ 385:154334e1e7e0

fix for "outgoing" (previously, always printed all revisions)
author Adrian Sampson <adrian@radbox.org>
date Tue, 10 May 2011 21:39:17 -0700
parents fc37cb795b51
children ed28dd69df61
line wrap: on
line diff
--- a/hggit/git_handler.py	Tue May 10 21:13:18 2011 -0700
+++ b/hggit/git_handler.py	Tue May 10 21:39:17 2011 -0700
@@ -147,7 +147,7 @@
                             if sha != old_refs.get(ref)]
             new = [bin(self.map_hg_get(new_refs[ref])) for ref in changed_refs]
             old = dict( (bin(self.map_hg_get(old_refs[r])), 1)
-                       for r in changed_refs if r in old_refs)
+                       for r in old_refs)
 
             return old, new
         except HangupException: