tests/test-topic-shelve.t
changeset 3060 f43a310c4338
parent 2997 a61634f52742
child 3769 1bc4b0807c37
equal deleted inserted replaced
3059:02b220984b01 3060:f43a310c4338
    13   $ touch a
    13   $ touch a
    14   $ echo "Hello" >> a
    14   $ echo "Hello" >> a
    15   $ hg topic "testing-shelve"
    15   $ hg topic "testing-shelve"
    16   marked working directory as topic: testing-shelve
    16   marked working directory as topic: testing-shelve
    17   $ hg topic
    17   $ hg topic
    18    * testing-shelve
    18    * testing-shelve (0 changesets)
    19   $ hg ci -m "First commit" -A
    19   $ hg ci -m "First commit" -A
    20   adding a
    20   adding a
    21   active topic 'testing-shelve' grew its first changeset
    21   active topic 'testing-shelve' grew its first changeset
    22   $ hg topic
    22   $ hg topic
    23    * testing-shelve
    23    * testing-shelve (1 changesets)
    24   $ echo " World" >> a
    24   $ echo " World" >> a
    25   $ hg stack
    25   $ hg stack
    26   ### topic: testing-shelve
    26   ### topic: testing-shelve
    27   ### target: default (branch)
    27   ### target: default (branch)
    28   t1@ First commit (current)
    28   t1@ First commit (current)
    32 
    32 
    33   $ hg shelve
    33   $ hg shelve
    34   shelved as default
    34   shelved as default
    35   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    35   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    36   $ hg topic
    36   $ hg topic
    37    * testing-shelve
    37    * testing-shelve (1 changesets)
    38   $ hg stack
    38   $ hg stack
    39   ### topic: testing-shelve
    39   ### topic: testing-shelve
    40   ### target: default (branch)
    40   ### target: default (branch)
    41   t1@ First commit (current)
    41   t1@ First commit (current)
    42 
    42 
    43 unshelve test
    43 unshelve test
    44 -------------
    44 -------------
    45   $ hg unshelve
    45   $ hg unshelve
    46   unshelving change 'default'
    46   unshelving change 'default'
    47   $ hg topic
    47   $ hg topic
    48    * testing-shelve
    48    * testing-shelve (1 changesets)
    49   $ hg stack
    49   $ hg stack
    50   ### topic: testing-shelve
    50   ### topic: testing-shelve
    51   ### target: default (branch)
    51   ### target: default (branch)
    52   t1@ First commit (current)
    52   t1@ First commit (current)