Mercurial > evolve
view tests/testlib @ 1892:b1fadc089b82
update: change default update destination to take topic in account
When within a branch update to ngtip(branch). When within a topic update to the
top topic.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 13 Mar 2016 12:29:43 +0000 |
parents | 2321fd2ed56e |
children | 85390446f8c1 |
line wrap: on
line source
#!/bin/sh # This file holds logic that is used in many tests. # It can be called in a test like this: # $ . "$TESTDIR/testlib" # Enable obsolete markers and enable extensions cat >> $HGRCPATH << EOF [experimental] evolution=createmarkers,exchange [extensions] rebase= EOF echo "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH