diff hggit/git_handler.py @ 288:efe9e6a9235f

fix gimport and add test for using to work on hg repos from git (issue 73)
author Abderrahim Kitouni <a.kitouni@gmail.com>
date Fri, 26 Feb 2010 19:27:32 +0100
parents e08a22250fa9
children 19f201d64a16 09116995c421
line wrap: on
line diff
--- a/hggit/git_handler.py
+++ b/hggit/git_handler.py
@@ -352,7 +352,7 @@
         # get a list of all the head shas
         seenheads = set()
         if refs is None:
-            refs = self.git.refs
+            refs = self.git.refs.as_dict()
         if refs:
             for sha in refs.itervalues():
                 # refs contains all the refs in the server, not just the ones