Mercurial > evolve
view tests/test-topic-shelve.t @ 3064:7a1a4d1f0958 stable
pager: add a function in compats to start pager
This will help us enabling pager when ui.pager API exists. Also we can try
plugging in the old pager API in this function and we won't have to change
anything.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 14 Oct 2017 20:17:25 +0530 |
parents | a61634f52742 |
children | f43a310c4338 |
line wrap: on
line source
testing topic with shelve extension ------------------------------------ $ . "$TESTDIR/testlib/topic_setup.sh" $ hg init repo $ cd repo $ cat <<EOF >>.hg/hgrc > [extensions] > shelve= > EOF $ touch a $ echo "Hello" >> a $ hg topic "testing-shelve" marked working directory as topic: testing-shelve $ hg topic * testing-shelve $ hg ci -m "First commit" -A adding a active topic 'testing-shelve' grew its first changeset $ hg topic * testing-shelve $ echo " World" >> a $ hg stack ### topic: testing-shelve ### target: default (branch) t1@ First commit (current) shelve test ----------- $ hg shelve shelved as default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg topic * testing-shelve $ hg stack ### topic: testing-shelve ### target: default (branch) t1@ First commit (current) unshelve test ------------- $ hg unshelve unshelving change 'default' $ hg topic * testing-shelve $ hg stack ### topic: testing-shelve ### target: default (branch) t1@ First commit (current)