History

Merge branch 'rc/fix-ann-tags' into rc/master

Tay Ray Chuan committed 16 years ago

Commit bf80ab02 parents 7f78c64 65db4341 file · +4 −4Browse files

Unified · Split

hggit/git_handler.py+4−4
@@ -261,7 +261,7 @@ class GitHandler(object): · 260 unmodified lines
261261 author = author + ' <none@none>'
262262
263263 if 'author' in ctx.extra():
264− author = apply_delta(author, ctx.extra()['author'])
264+ author = "".join(apply_delta(author, ctx.extra()['author']))
265265
266266 return author
267267
@@ -289,7 +289,7 @@ class GitHandler(object): · 21 unmodified lines
289289
290290 message = ctx.description() + "\n"
291291 if 'message' in extra:
292− message = apply_delta(message, extra['message'])
292+ message = "".join(apply_delta(message, extra['message']))
293293
294294 # HG EXTRA INFORMATION
295295 add_extras = False
@@ -363,7 +363,7 @@ class GitHandler(object): · 67 unmodified lines
363363 if sha in self.git.object_store:
364364 obj = self.git.get_object(sha)
365365 while isinstance(obj, Tag):
366− obj_type, sha = obj.get_object()
366+ obj_type, sha = obj._get_object()
367367 obj = self.git.get_object(sha)
368368 if isinstance (obj, Commit) and sha not in seenheads:
369369 seenheads.add(sha)
@@ -666,7 +666,7 @@ class GitHandler(object): · 296 unmodified lines
666666 sha = self.map_hg_get(refs[k])
667667 self.tags[ref_name] = sha
668668 elif isinstance (obj, Tag): # annotated
669− (obj_type, obj_sha) = obj.get_object()
669+ (obj_type, obj_sha) = obj._get_object()
670670 obj = self.git.get_object(obj_sha)
671671 if isinstance (obj, Commit):
672672 sha = self.map_hg_get(obj_sha)