Skip to content
Snippets Groups Projects
Commit e527bd28 authored by Georges Racinet's avatar Georges Racinet
Browse files

Obsolescence validation: accept obsmarkers about unknown changesets

The transaction on the receiving side will have obsolescence markers
about changesets that were obsoleted before any exchange. Of course
these are to be ignored.
parent 653dcd21
No related branches found
No related tags found
1 merge request!47Fixing problems with obsolescence validation
......@@ -320,6 +320,13 @@
# Creation
src.commit_file('foo')
# no problem on receiving side with obsolescence of changesets
# that it never received
src.commit_file('bar')
src.command("amend", message=b'amend before exchange')
dest_pull()
src.command('tag', b'v1.2.3')
tag_ctx = scmutil.revsingle(src.repo, b'.')
dest_pull()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment