History

Merge fix from Benoit Allard

Augie Fackler committed 16 years ago

Commit cb60dde2 parents 1bb87cf 4314f631 file · +2 −2Browse files

Unified · Split

hggit/git_handler.py+2−2
@@ -364,7 +364,7 @@ class GitHandler(object): · 363 unmodified lines
364364 if sha in self.git.object_store:
365365 obj = self.git.get_object(sha)
366366 while isinstance(obj, Tag):
367− obj_type, sha = obj._get_object()
367+ obj_type, sha = obj.object
368368 obj = self.git.get_object(sha)
369369 if isinstance (obj, Commit) and sha not in seenheads:
370370 seenheads.add(sha)
@@ -694,7 +694,7 @@ class GitHandler(object): · 323 unmodified lines
694694 sha = self.map_hg_get(refs[k])
695695 self.tags[ref_name] = sha
696696 elif isinstance (obj, Tag): # annotated
697− (obj_type, obj_sha) = obj._get_object()
697+ (obj_type, obj_sha) = obj.object
698698 obj = self.git.get_object(obj_sha)
699699 if isinstance (obj, Commit):
700700 sha = self.map_hg_get(obj_sha)