Show More
@@ -278,7 +278,7 b' def _fm0decodemeta(data):' | |||||
278 | d = {} |
|
278 | d = {} | |
279 | for l in data.split('\0'): |
|
279 | for l in data.split('\0'): | |
280 | if l: |
|
280 | if l: | |
281 | key, value = l.split(':') |
|
281 | key, value = l.split(':', 1) | |
282 | d[key] = value |
|
282 | d[key] = value | |
283 | return d |
|
283 | return d | |
284 |
|
284 |
@@ -1620,3 +1620,22 b' Test adding changeset after obsmarkers a' | |||||
1620 |
|
1620 | |||
1621 |
|
1621 | |||
1622 | $ cd .. |
|
1622 | $ cd .. | |
|
1623 | ||||
|
1624 | Test issue 5783 | |||
|
1625 | ||||
|
1626 | $ hg init issue-5783 --config format.obsstore-version=0 | |||
|
1627 | $ cd issue-5783 | |||
|
1628 | $ touch a.cpp | |||
|
1629 | $ hg add a.cpp | |||
|
1630 | $ hg commit -m 'Add a.cpp' | |||
|
1631 | $ echo 'Hello' > a.cpp | |||
|
1632 | $ hg amend -n 'Testing::Obsstore' --config format.obsstore-version=0 --config extensions.amend= | |||
|
1633 | $ touch b.cpp | |||
|
1634 | $ hg add b.cpp | |||
|
1635 | $ hg commit -m 'Add b.cpp' | |||
|
1636 | $ echo 'Hello' > b.cpp | |||
|
1637 | $ hg amend -n 'Testing::Obsstore2' --config extensions.amend= | |||
|
1638 | $ hg debugobsolete | |||
|
1639 | d1b09fe3ad2b2a03e23a72f0c582e29a49570145 1a1a11184d2588af24e767e5335d5d9d07e8c550 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'Testing::Obsstore', 'operation': 'amend', 'user': 'test'} | |||
|
1640 | 1bfd8e3868f641e048b6667cd672c68932f26d00 79959ca316d5b27ac6be1dd0cfd0843a5b5412eb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'note': 'Testing::Obsstore2', 'operation': 'amend', 'user': 'test'} | |||
|
1641 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now