Show More
@@ -70,8 +70,10 b' def pinnedrevs(repo):' | |||||
70 |
|
70 | |||
71 | ms = mergestate.mergestate.read(repo) |
|
71 | ms = mergestate.mergestate.read(repo) | |
72 | if ms.active(): |
|
72 | if ms.active(): | |
73 | pinned.add(ms.localctx.rev()) |
|
73 | for node in (ms.local, ms.other): | |
74 | pinned.add(ms.otherctx.rev()) |
|
74 | rev = cl.index.get_rev(node) | |
|
75 | if rev is not None: | |||
|
76 | pinned.add(rev) | |||
75 |
|
77 | |||
76 | return pinned |
|
78 | return pinned | |
77 |
|
79 |
@@ -1826,8 +1826,8 b' The local node should now point to a non' | |||||
1826 | ancestor path: file (node bc7ebe2d260cff30d2a39a130d84add36216f791) |
|
1826 | ancestor path: file (node bc7ebe2d260cff30d2a39a130d84add36216f791) | |
1827 | other path: file (node b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3) |
|
1827 | other path: file (node b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3) | |
1828 | extra: ancestorlinknode = b73b8c9a4ab4da89a5a35a6f10dfb13edc84ca37 |
|
1828 | extra: ancestorlinknode = b73b8c9a4ab4da89a5a35a6f10dfb13edc84ca37 | |
1829 |
|
|
1829 | We should be able to see the log (without the deleted commit, of course) | |
1830 | $ hg log -G |
|
1830 | $ hg log -G | |
1831 | abort: unknown revision 'b73b8c9a4ab4da89a5a35a6f10dfb13edc84ca37'! |
|
1831 | @ 0:f53e9479dce5 (draft) [tip ] first | |
1832 | [255] |
|
1832 | ||
1833 | $ cd .. |
|
1833 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now