1510
1556
def _set_last_revision_descendant(self, revision_id, other_branch,
1511
1557
allow_diverged=False, allow_overwrite_descendant=False):
1514
1559
response = self._client.call('Branch.set_last_revision_ex',
1515
path, self._lock_token, self._repo_lock_token, revision_id,
1560
self._remote_path(), self._lock_token, self._repo_lock_token, revision_id,
1516
1561
int(allow_diverged), int(allow_overwrite_descendant))
1517
1562
except errors.ErrorFromSmartServer, err:
1518
1563
self._translate_error(err, other_branch=other_branch)