Mercurial > hgsubversion
comparison fetch_command.py @ 168:4f26fa049452
authormap: Add tests, fix in stupid mode.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 30 Dec 2008 20:14:03 -0600 |
parents | 3cd6a7354207 |
children | f1919e1c35bf |
comparison
equal
deleted
inserted
replaced
167:3cd6a7354207 | 168:4f26fa049452 |
---|---|
512 current_ctx = context.memctx(hg_editor.repo, | 512 current_ctx = context.memctx(hg_editor.repo, |
513 [parentctx.node(), revlog.nullid], | 513 [parentctx.node(), revlog.nullid], |
514 r.message or '...', | 514 r.message or '...', |
515 files_touched, | 515 files_touched, |
516 filectxfn, | 516 filectxfn, |
517 '%s%s' % (r.author, | 517 hg_editor.authorforsvnauthor(r.author), |
518 hg_editor.author_host), | |
519 date, | 518 date, |
520 extra) | 519 extra) |
521 ha = hg_editor.repo.commitctx(current_ctx) | 520 ha = hg_editor.repo.commitctx(current_ctx) |
522 hg_editor.add_to_revmap(r.revnum, b, ha) | 521 hg_editor.add_to_revmap(r.revnum, b, ha) |
523 hg_editor._save_metadata() | 522 hg_editor._save_metadata() |
551 current_ctx = context.memctx(hg_editor.repo, | 550 current_ctx = context.memctx(hg_editor.repo, |
552 parents, | 551 parents, |
553 r.message or '...', | 552 r.message or '...', |
554 files_touched, | 553 files_touched, |
555 filectxfn, | 554 filectxfn, |
556 '%s%s' % (r.author, | 555 hg_editor.authorforsvnauthor(r.author), |
557 hg_editor.author_host), | |
558 date, | 556 date, |
559 {'branch': 'closed-branches'}) | 557 {'branch': 'closed-branches'}) |
560 ha = hg_editor.repo.commitctx(current_ctx) | 558 ha = hg_editor.repo.commitctx(current_ctx) |
561 ui.status('Marked branch %s as closed.\n' % (b or 'default')) | 559 ui.status('Marked branch %s as closed.\n' % (b or 'default')) |
562 hg_editor._save_metadata() | 560 hg_editor._save_metadata() |