Mercurial > evolve
view tests/testlib/topic_setup.sh @ 3906:f2cde417a738
builddependencies: extract function for getting successors
The code no longer makes a difference between single- and
mult-successor cases and just needs a set (or generator, really) of
successors to iterate over. Let's extract that into a function.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 25 Jul 2018 16:12:01 -0700 |
parents | fa2deeb5dd03 |
children | 044ce00dfa88 |
line wrap: on
line source
#!/bin/sh . $TESTDIR/testlib/pythonpath.sh # This file holds logic that is used in many tests. # It can be called in a test like this: # $ . "$TESTDIR/testlib/topic_setup.sh" # Enable obsolete markers and enable extensions cat >> $HGRCPATH << EOF [experimental] evolution=createmarkers,exchange [extensions] rebase= topic= EOF