Changeset 3b3e776 in mainline for contrib/bazaar/mbprotect/__init__.py
- Timestamp:
- 2010-02-05T10:57:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0358da0
- Parents:
- 3f085132 (diff), b4cbef1 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/bazaar/mbprotect/__init__.py
r3f085132 r3b3e776 52 52 return 53 53 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. 55 56 for revision_id in repo.iter_reverse_revision_history(params.new_revid): 56 57 if revision_id == params.old_revid: 57 58 return # Found old tip 58 59 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. 60 67 raise TipChangeRejected('Bad tip. Read http://trac.helenos.org/trac.fcgi/' + 61 68 'wiki/BazaarWorkflow')
Note:
See TracChangeset
for help on using the changeset viewer.