Ignore:
Timestamp:
2013-02-09T23:14:45Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
22dfd38
Parents:
b5d2e57 (diff), 005b765 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Conflict resulting from bool.h → stdbool.h move and ddf structs turning opaque.
Fails to boot to shell console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/bazaar/mbprotect/__init__.py

    rb5d2e57 r03362fbd  
    4444import bzrlib.branch
    4545from bzrlib.errors import TipChangeRejected
     46from bzrlib import revision as _mod_revision
     47
     48def iter_reverse_revision_history(repository, revision_id):
     49        """Iterate backwards through revision ids in the lefthand history"""
     50       
     51        graph = repository.get_graph()
     52        stop_revisions = (None, _mod_revision.NULL_REVISION)
     53        return graph.iter_lefthand_ancestry(revision_id, stop_revisions)
    4654
    4755def pre_change_branch_tip(params):
     
    5462        # First permitted case is appending changesets to main branch.Look for
    5563        # old tip in new main branch.
    56         for revision_id in repo.iter_reverse_revision_history(params.new_revid):
     64        for revision_id in iter_reverse_revision_history(repo, params.new_revid):
    5765                if revision_id == params.old_revid:
    5866                        return  # Found old tip
     
    6068        # Another permitted case is backing out changesets. Look for new tip
    6169        # in old branch.
    62         for revision_id in repo.iter_reverse_revision_history(params.old_revid):
     70        for revision_id in iter_reverse_revision_history(repo, params.old_revid):
    6371                if revision_id == params.new_revid:
    6472                        return  # Found new tip
Note: See TracChangeset for help on using the changeset viewer.