changeset 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 cbc48ed3b56c
children 86ae03f889a4
files tests/test_util.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -702,7 +702,8 @@ class TestBase(unittest.TestCase):
                              changed + removed,
                              filectxfn,
                              'an_author',
-                             '2008-10-07 20:59:48 -0500')
+                             '2008-10-07 20:59:48 -0500',
+                             {'branch': parentctx.branch()})
         nodeid = repo.commitctx(ctx)
         repo = self.repo
         hg.clean(repo, nodeid)