Mercurial > hg
comparison tests/test-shelve.t @ 49455:744b341782f4
shelve: remove strip and rely on prior state (issue6735)
author | Jason R. Coombs <jaraco@jaraco.com> |
---|---|
date | Wed, 24 Aug 2022 15:15:04 -0400 |
parents | 34dddc5d2e2f |
children | 53229e170496 |
comparison
equal
deleted
inserted
replaced
49454:34dddc5d2e2f | 49455:744b341782f4 |
---|---|
1544 add C to bars | 1544 add C to bars |
1545 | 1545 |
1546 -- if phasebased, shelve works without patch and bundle | 1546 -- if phasebased, shelve works without patch and bundle |
1547 | 1547 |
1548 $ hg update -q --clean . | 1548 $ hg update -q --clean . |
1549 $ hg strip -q -r 0 | |
1550 $ rm -r .hg/shelve* | 1549 $ rm -r .hg/shelve* |
1551 $ echo import antigravity >> somefile.py | 1550 $ echo import antigravity >> somefile.py |
1552 $ hg add somefile.py | 1551 $ hg add somefile.py |
1553 $ hg shelve -q | 1552 $ hg shelve -q |
1554 #if phasebased | 1553 #if phasebased |
1557 #endif | 1556 #endif |
1558 | 1557 |
1559 shelve --list --patch should work even with no patch file. | 1558 shelve --list --patch should work even with no patch file. |
1560 | 1559 |
1561 $ hg shelve --list --patch | 1560 $ hg shelve --list --patch |
1562 default (*s ago) * (changes in empty repository) (glob) | 1561 default (*s ago) * changes to: add C to bars (glob) |
1563 | 1562 |
1564 diff --git a/somefile.py b/somefile.py | 1563 diff --git a/somefile.py b/somefile.py |
1565 new file mode 100644 | 1564 new file mode 100644 |
1566 --- /dev/null | 1565 --- /dev/null |
1567 +++ b/somefile.py | 1566 +++ b/somefile.py |