1533
1543
def _set_last_revision_descendant(self, revision_id, other_branch,
1534
1544
allow_diverged=False, allow_overwrite_descendant=False):
1537
1546
response = self._client.call('Branch.set_last_revision_ex',
1538
path, self._lock_token, self._repo_lock_token, revision_id,
1547
self._remote_path(), self._lock_token, self._repo_lock_token, revision_id,
1539
1548
int(allow_diverged), int(allow_overwrite_descendant))
1540
1549
except errors.ErrorFromSmartServer, err:
1541
1550
self._translate_error(err, other_branch=other_branch)