Mercurial > evolve
view tests/testlib/topic_setup.sh @ 3905:4806d1339c30
builddependencies: share code between single- and multi-successor cases
The two cases now have more similar structure ("if succ in revs:
dependencies[r].add(succ)"), so let's share the code so it doesn't
start drifting apart again.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 25 Jul 2018 16:23:25 -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