comparison mercurial/commands.py @ 452:a1e91c24dab5

rawcommit: do lookup of parents at the appropriate layer -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rawcommit: do lookup of parents at the appropriate layer manifest hash: fc4b2d4416d00da5db2f4659e42ecba2a96dba1e -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCu2UoywK+sNU5EO8RApdDAJ9Vph6qVyzL++YeXyFC8HKf9ZhkGgCeNc0Y j2AMu6aWmuLuy2XwztS8gms= =f8mQ -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 23 Jun 2005 17:43:04 -0800
parents 470a83212dda
children 6409d9a0df43 50da4bb9cab6
comparison
equal deleted inserted replaced
451:c9d134165392 452:a1e91c24dab5
551 return 1 551 return 1
552 552
553 files = relpath(repo, list(flist)) 553 files = relpath(repo, list(flist))
554 if rc['files']: 554 if rc['files']:
555 files += open(rc['files']).read().splitlines() 555 files += open(rc['files']).read().splitlines()
556 556
557 rc['parent'] = map(repo.lookup, rc['parent'])
558
557 repo.rawcommit(files, text, rc['user'], rc['date'], *rc['parent']) 559 repo.rawcommit(files, text, rc['user'], rc['date'], *rc['parent'])
558 560
559 def recover(ui, repo): 561 def recover(ui, repo):
560 """roll back an interrupted transaction""" 562 """roll back an interrupted transaction"""
561 repo.recover() 563 repo.recover()