Changes in contrib/bazaar/mbprotect/__init__.py [01607604:f60a0e4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/bazaar/mbprotect/__init__.py
r01607604 rf60a0e4 52 52 return 53 53 54 # First permitted case is appending changesets to main branch.Look for 55 # old tip in new main branch. 54 # Look for old tip in new main branch. 56 55 for revision_id in repo.iter_reverse_revision_history(params.new_revid): 57 56 if revision_id == params.old_revid: 58 57 return # Found old tip 59 58 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. 59 # Old tip was not found. Reject the change. 67 60 raise TipChangeRejected('Bad tip. Read http://trac.helenos.org/trac.fcgi/' + 68 61 'wiki/BazaarWorkflow')
Note:
See TracChangeset
for help on using the changeset viewer.