equal
deleted
inserted
replaced
77 # are deferred. Do those now. |
77 # are deferred. Do those now. |
78 |
78 |
79 # Ensure all new changesets are draft by default. If the repo is |
79 # Ensure all new changesets are draft by default. If the repo is |
80 # publishing, the phase will be adjusted by the loop below. |
80 # publishing, the phase will be adjusted by the loop below. |
81 if csetres[b'added']: |
81 if csetres[b'added']: |
82 phases.registernew(repo, tr, phases.draft, csetres[b'added']) |
82 phases.registernew( |
|
83 repo, tr, phases.draft, [repo[n].rev() for n in csetres[b'added']] |
|
84 ) |
83 |
85 |
84 # And adjust the phase of all changesets accordingly. |
86 # And adjust the phase of all changesets accordingly. |
85 for phasenumber, phase in phases.phasenames.items(): |
87 for phasenumber, phase in phases.phasenames.items(): |
86 if phase == b'secret' or not csetres[b'nodesbyphase'][phase]: |
88 if phase == b'secret' or not csetres[b'nodesbyphase'][phase]: |
87 continue |
89 continue |