/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-20 16:40:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5808.
  • Revision ID: jelmer@samba.org-20110420164053-gdxreqedtq2a3c3f
Avoid using deprecated set_revision_history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1270
1270
            self.branch.generate_revision_history(new_revision)
1271
1271
        except errors.NoSuchRevision:
1272
1272
            # not present in the repo - dont try to set it deeper than the tip
1273
 
            self.branch.set_last_revision_info(1, new_revision)
 
1273
            self.branch._set_revision_history([new_revision])
1274
1274
        return True
1275
1275
 
1276
1276
    @needs_tree_write_lock