~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

MergeĀ fromĀ old-hpss-branch-implementation-test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
        base_revspec = RevisionSpec.from_string(self.spec)
523
523
        base_revision_id = base_revspec.as_revision_id(context_branch)
524
524
        if base_revision_id == revision.NULL_REVISION:
525
 
            raise errors.InvalidRevisionSpec(self.user_spec, branch,
 
525
            raise errors.InvalidRevisionSpec(self.user_spec, context_branch,
526
526
                                         'cannot go before the null: revision')
527
527
        context_repo = context_branch.repository
528
528
        context_repo.lock_read()