Ignore:
Timestamp:
2009-11-28T20:28:13Z (14 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb79d60
Parents:
3da11f37 (diff), 2e07d27e (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:

merged head changes to this branch

File:
1 edited

Legend:

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

    r3da11f37 r3f35634c  
    5252        return
    5353
    54     # Look for old tip in new main branch.
     54    # First permitted case is appending changesets to main branch.Look for
     55    # old tip in new main branch.
    5556    for revision_id in repo.iter_reverse_revision_history(params.new_revid):
    5657        if revision_id == params.old_revid:
    5758            return      # Found old tip
    5859
    59     # Old tip was not found. Reject the change.
     60    # Another permitted case is backing out changesets. Look for new tip
     61    # in old branch.
     62    for revision_id in repo.iter_reverse_revision_history(params.old_revid):
     63        if revision_id == params.new_revid:
     64            return      # Found new tip
     65
     66    # Trying to do something else. Reject the change.
    6067    raise TipChangeRejected('Bad tip. Read http://trac.helenos.org/trac.fcgi/' +
    6168        'wiki/BazaarWorkflow')
Note: See TracChangeset for help on using the changeset viewer.