diff 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
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)