~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

(jelmer) Make default Branch implementation oriented to storing just tip
 rather than full history. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1228
1228
        if _mod_revision.is_null(new_revision):
1229
1229
            self.branch.set_last_revision_info(0, new_revision)
1230
1230
            return False
 
1231
        _mod_revision.check_not_reserved_id(new_revision)
1231
1232
        try:
1232
1233
            self.branch.generate_revision_history(new_revision)
1233
1234
        except errors.NoSuchRevision: