--- a/hgext/evolve.py Sun Aug 10 23:58:31 2014 -0700
+++ b/hgext/evolve.py Thu Aug 14 15:14:18 2014 -0700
@@ -933,6 +933,7 @@
def tryimportone(orig, ui, repo, hunk, parents, opts, *args, **kwargs):
extracted = patch.extract(ui, hunk)
expected = extracted[5]
+ expected = node.bin(expected)
oldextract = patch.extract
try:
patch.extract = lambda ui, hunk: extracted
@@ -944,7 +945,7 @@
tr = repo.transaction('import-obs')
try:
metadata = {'user': ui.username()}
- repo.obsstore.create(tr, node.bin(expected), (created,),
+ repo.obsstore.create(tr, expected, (created,),
metadata=metadata)
tr.close()
finally: