b0566e3d38e6

spa ce
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Dec 2015 15:48:10 +0000
parents dab975004291
children 4ad9d3c4ebbe
branches/tags (none)
files bin/unfuck-hggit-mapfile

Changes

--- a/bin/unfuck-hggit-mapfile	Mon Dec 07 15:44:37 2015 +0000
+++ b/bin/unfuck-hggit-mapfile	Mon Dec 07 15:48:10 2015 +0000
@@ -84,7 +84,8 @@
             hg_desc = get_hg_desc(hg_child)
             matching = [
                 git_child for git_child in git_children
-                if hg_desc.startswith(get_git_desc(git_child))]
+                if hg_desc.startswith(get_git_desc(git_child))
+            ]
             if len(matching) == 1:
                 log("Found a match based on message for %s" % hg_child)
                 if hg_child not in mapping: