Skip to content
Snippets Groups Projects
Commit 0e0a2d20 authored by Scott Chacon's avatar Scott Chacon
Browse files

added a missing newline back to git conversion

parent 7b4cf18c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@
- hg fetch [remote] (remote is url, hg alias or hg-git remote)
- hg clone url
* fail nicely when the remote_name is not there
* more tests
* submodules?
* .gitignore, etc - try to convert?
- (probably not automatically, but perhaps a generator?)
......@@ -24,8 +23,8 @@
MAPPING ISSUES
==============
Created in Hg:
* named branches #
* merges with renames - dont convert back properly for some reason
* merges with renames in 2nd branch
- dont convert back properly for some reason
Created in Git:
* different committer in Git objects
......
......@@ -201,7 +201,7 @@
author = author + ' <none@none>'
commit['author'] = author + ' ' + str(int(time)) + ' ' + seconds_to_offset(timezone)
message = ctx.description()
commit['message'] = ctx.description()
commit['message'] = ctx.description() + "\n"
# HG EXTRA INFORMATION
add_extras = False
......@@ -216,7 +216,7 @@
extra_message += "rename : " + oldfile + " => " + newfile + "\n"
if add_extras:
commit['message'] += "\n\n--HG--\n" + extra_message
commit['message'] += "\n--HG--\n" + extra_message
commit['parents'] = []
for parent in parents:
......
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