/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: Robert Collins
  • Date: 2007-02-02 09:17:23 UTC
  • mfrom: (2249.4.2 tip.info)
  • mto: This revision was merged to the branch mainline in revision 2257.
  • Revision ID: robertc@robertcollins.net-20070202091723-xtak1zzhe2ylwksa
(robertc) Merge new Branch.last_revision_info method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1321
1321
        try:
1322
1322
            pp = ProgressPhase("Pull phase", 2, top_pb)
1323
1323
            pp.next_phase()
1324
 
            old_revision_history = self.branch.revision_history()
 
1324
            old_revision_info = self.branch.last_revision_info()
1325
1325
            basis_tree = self.basis_tree()
1326
1326
            count = self.branch.pull(source, overwrite, stop_revision)
1327
 
            new_revision_history = self.branch.revision_history()
1328
 
            if new_revision_history != old_revision_history:
 
1327
            new_revision_info = self.branch.last_revision_info()
 
1328
            if new_revision_info != old_revision_info:
1329
1329
                pp.next_phase()
1330
 
                if len(old_revision_history):
1331
 
                    other_revision = old_revision_history[-1]
1332
 
                else:
1333
 
                    other_revision = None
1334
1330
                repository = self.branch.repository
1335
1331
                pb = bzrlib.ui.ui_factory.nested_progress_bar()
1336
1332
                try: