##// END OF EJS Templates
debugmergestate: print out record type for files...
Siddharth Agarwal -
r26976:c48fee95 default
parent child Browse files
Show More
@@ -2547,8 +2547,8 def debugmergestate(ui, repo, *args):
2547 flags = r[7]
2547 flags = r[7]
2548 else:
2548 else:
2549 onode, flags = r[7:9]
2549 onode, flags = r[7:9]
2550 ui.write(('file: %s (state "%s", hash %s)\n')
2550 ui.write(('file: %s (record type "%s", state "%s", hash %s)\n')
2551 % (f, state, hash))
2551 % (f, rtype, state, hash))
2552 ui.write((' local path: %s (flags "%s")\n') % (lfile, flags))
2552 ui.write((' local path: %s (flags "%s")\n') % (lfile, flags))
2553 ui.write((' ancestor path: %s (node %s)\n') % (afile, anode))
2553 ui.write((' ancestor path: %s (node %s)\n') % (afile, anode))
2554 ui.write((' other path: %s (node %s)\n') % (ofile, onode))
2554 ui.write((' other path: %s (node %s)\n') % (ofile, onode))
@@ -686,7 +686,7 Test usage of `hg resolve` in case of co
686 * version 2 records
686 * version 2 records
687 local: b71750c4b0fdf719734971e3ef90dbeab5919a2d
687 local: b71750c4b0fdf719734971e3ef90dbeab5919a2d
688 other: a30dd8addae3ce71b8667868478542bc417439e6
688 other: a30dd8addae3ce71b8667868478542bc417439e6
689 file: foo (state "u", hash 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33)
689 file: foo (record type "F", state "u", hash 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33)
690 local path: foo (flags "")
690 local path: foo (flags "")
691 ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708)
691 ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708)
692 other path: foo (node f50039b486d6fa1a90ae51778388cad161f425ee)
692 other path: foo (node f50039b486d6fa1a90ae51778388cad161f425ee)
@@ -694,7 +694,7 Test usage of `hg resolve` in case of co
694 $ hg debugmergestate
694 $ hg debugmergestate
695 * version 1 records
695 * version 1 records
696 local: b71750c4b0fdf719734971e3ef90dbeab5919a2d
696 local: b71750c4b0fdf719734971e3ef90dbeab5919a2d
697 file: foo (state "u", hash 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33)
697 file: foo (record type "F", state "u", hash 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33)
698 local path: foo (flags "")
698 local path: foo (flags "")
699 ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708)
699 ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708)
700 other path: foo (node not stored in v1 format)
700 other path: foo (node not stored in v1 format)
General Comments 0
You need to be logged in to leave comments. Login now