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