Mercurial > hgsubversion
comparison tests/test_util.py @ 1462:7dc5c4368837
test_util: retain parent branch in commitchanges()
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 23:08:43 +0200 |
parents | dcf9eff9b5b7 |
children | 86ae03f889a4 |
comparison
equal
deleted
inserted
replaced
1461:cbc48ed3b56c | 1462:7dc5c4368837 |
---|---|
700 (parentctx.node(), node.nullid), | 700 (parentctx.node(), node.nullid), |
701 message, | 701 message, |
702 changed + removed, | 702 changed + removed, |
703 filectxfn, | 703 filectxfn, |
704 'an_author', | 704 'an_author', |
705 '2008-10-07 20:59:48 -0500') | 705 '2008-10-07 20:59:48 -0500', |
706 {'branch': parentctx.branch()}) | |
706 nodeid = repo.commitctx(ctx) | 707 nodeid = repo.commitctx(ctx) |
707 repo = self.repo | 708 repo = self.repo |
708 hg.clean(repo, nodeid) | 709 hg.clean(repo, nodeid) |
709 return nodeid | 710 return nodeid |
710 | 711 |