Changes in contrib/bazaar/mbprotect/__init__.py [d1ef4a1:5c0e012] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/bazaar/mbprotect/__init__.py
rd1ef4a1 r5c0e012 60 60 return 61 61 62 # First permitted case is appending changesets to main branch. Look for62 # First permitted case is appending changesets to main branch. Look for 63 63 # old tip in new main branch. 64 64 for revision_id in iter_reverse_revision_history(repo, params.new_revid): 65 65 if revision_id == params.old_revid: 66 return # Found old tip 66 # Old tip found 67 return 67 68 68 69 # Another permitted case is backing out changesets. Look for new tip … … 70 71 for revision_id in iter_reverse_revision_history(repo, params.old_revid): 71 72 if revision_id == params.new_revid: 72 return # Found new tip 73 # New tip found 74 return 73 75 74 76 # Trying to do something else. Reject the change.
Note:
See TracChangeset
for help on using the changeset viewer.