Mercurial > evolve
view tests/testlib @ 1866:13fc93fb7fbe
patch: add topic to exported patch
If used Mercurial supports it, we add a topic header to patches.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 08 Oct 2015 20:42:26 -0700 |
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