Skip to content

Instantly share code, notes, and snippets.

@SRabbelier
Created July 31, 2009 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SRabbelier/159471 to your computer and use it in GitHub Desktop.
Save SRabbelier/159471 to your computer and use it in GitHub Desktop.
$ git diff git_handler.py
diff --git a/git_handler.py b/git_handler.py
index d734c86..ead4914 100644
--- a/git_handler.py
+++ b/git_handler.py
@@ -76,7 +76,7 @@ class GitHandler(object):
def save_map(self):
file = self.repo.opener(self.mapfile, 'w+', atomictemp=True)
- for gitsha, hgsha in sorted(self._map_git.iteritems()):
+ for hgsha, gitsha in sorted(self._map_hg.iteritems()):
file.write("%s %s\n" % (gitsha, hgsha))
file.rename()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment