author | Patrick Mezard <pmezard@gmail.com> |
Thu, 26 Aug 2010 23:38:13 +0200 | |
changeset 12058 | 1ef70bdd1e62 |
parent 12057 | 798ef5b19cb1 |
child 12059 | 0de6cfdcaad8 |
--- a/mercurial/archival.py Thu Aug 26 23:38:13 2010 +0200 +++ b/mercurial/archival.py Thu Aug 26 23:38:13 2010 +0200 @@ -236,7 +236,7 @@ if repo.ui.configbool("ui", "archivemeta", True): def metadata(): base = 'repo: %s\nnode: %s\nbranch: %s\n' % ( - hex(repo.changelog.node(0)), hex(node), ctx.branch()) + repo[0].hex(), hex(node), ctx.branch()) tags = ''.join('tag: %s\n' % t for t in ctx.tags() if repo.tagtype(t) == 'global')