154
175
class SmartServerBranchRequestSetLastRevisionEx(SmartServerSetTipRequest):
156
177
def do_tip_change_with_locked_branch(self, branch, new_last_revision_id,
157
178
allow_divergence, allow_overwrite_descendant):
158
179
"""Set the last revision of the branch.
162
183
:param new_last_revision_id: the revision ID to set as the last
164
185
:param allow_divergence: A flag. If non-zero, change the revision ID