Mercurial > hgsubversion
comparison fetch_command.py @ 33:a9c15cae50e5
Faster append-only revmap implementation.
author | Andreas Hartmetz <ahartmetz@gmail.com> |
---|---|
date | Wed, 15 Oct 2008 21:47:48 -0400 |
parents | d01196ca1e39 |
children | 9ee7ce0505eb |
comparison
equal
deleted
inserted
replaced
32:d01196ca1e39 | 33:a9c15cae50e5 |
---|---|
438 '%s%s' % (r.author, | 438 '%s%s' % (r.author, |
439 hg_editor.author_host), | 439 hg_editor.author_host), |
440 date, | 440 date, |
441 extra) | 441 extra) |
442 ha = hg_editor.repo.commitctx(current_ctx) | 442 ha = hg_editor.repo.commitctx(current_ctx) |
443 hg_editor.revmap[r.revnum, b] = ha | 443 hg_editor.add_to_revmap(r.revnum, b, ha) |
444 hg_editor._save_metadata() | 444 hg_editor._save_metadata() |
445 ui.status('committed as %s on branch %s\n' % | 445 ui.status('committed as %s on branch %s\n' % |
446 (node.hex(ha), b or 'default')) | 446 (node.hex(ha), b or 'default')) |
447 shutil.rmtree(our_tempdir) | 447 shutil.rmtree(our_tempdir) |
448 | 448 |