equal
deleted
inserted
replaced
735 ) |
735 ) |
736 else: |
736 else: |
737 # "link" is actually wrong here (it is set to len(changelog)) |
737 # "link" is actually wrong here (it is set to len(changelog)) |
738 # if changelog remains unchanged, skip writing file revisions |
738 # if changelog remains unchanged, skip writing file revisions |
739 # but still do a sanity check about pending multiple revisions |
739 # but still do a sanity check about pending multiple revisions |
740 if len(set(x[3] for x in pendingfilecommits)) > 1: |
740 if len({x[3] for x in pendingfilecommits}) > 1: |
741 raise error.ProgrammingError( |
741 raise error.ProgrammingError( |
742 b'pending multiple integer revisions are not supported' |
742 b'pending multiple integer revisions are not supported' |
743 ) |
743 ) |
744 del pendingfilecommits[:] |
744 del pendingfilecommits[:] |
745 return node |
745 return node |