Skip to content
Snippets Groups Projects
Commit 8b663b78 authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

git_handler.update_references: fix variable name

parent 9b174082
No related branches found
No related tags found
No related merge requests found
......@@ -1089,9 +1089,9 @@
# Create a local Git branch name for each
# Mercurial bookmark.
for key in heads:
git_ref = self.map_git_get(heads[key])
if git_ref:
self.git.refs['refs/heads/' + key] = self.map_git_get(heads[key])
git_sha = self.map_git_get(heads[key])
if git_sha:
self.git.refs['refs/heads/' + key] = git_sha
def export_hg_tags(self):
for tag, sha in self.repo.tags().iteritems():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment