##// END OF EJS Templates
tags: use get_peeled to get the peeled tag sha commit instead of...
dan -
r77:65aca5f2 stable
parent child Browse files
Show More
@@ -431,11 +431,9 b' class GitRemote(object):'
431 @reraise_safe_exceptions
431 @reraise_safe_exceptions
432 def get_refs(self, wire):
432 def get_refs(self, wire):
433 repo = self._factory.repo(wire)
433 repo = self._factory.repo(wire)
434
435 repo.refs._peeled_refs
436 result = {}
434 result = {}
437 for ref, sha in repo.refs.as_dict().items():
435 for ref, sha in repo.refs.as_dict().items():
438 peeled_sha = repo.refs._peeled_refs.get(ref, sha)
436 peeled_sha = repo.get_peeled(ref)
439 result[ref] = peeled_sha
437 result[ref] = peeled_sha
440 return result
438 return result
441
439
General Comments 0
You need to be logged in to leave comments. Login now