Mercurial > evolve
view tests/testlib/topic_setup.sh @ 2273:228111491788 stable
legacy: fix debugrecordpruneparents to call obsstore.create() with keywords
It appears the API was changed twice in Mercurial at
- 570f87422f54 "obsstore: add an explicit `date` argument to obsstore.create"
- adb3798dce49 "obsstore: add a `parents` argument to obsstore.create"
and metadata would be changed to a list of (key, value) pairs. Convert it back
to a dict as expected by create().
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 20 Apr 2017 00:21:13 +0900 |
parents | db617700d318 |
children | fa2deeb5dd03 |
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/topic_setup.sh" # Enable obsolete markers and enable extensions cat >> $HGRCPATH << EOF [experimental] evolution=createmarkers,exchange [extensions] rebase= EOF echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH