Eduard Climov
Eduard Climov

Reputation: 193

How to shift SVN revisions, merging two revisions together?

I have a situation when SVN revisions need to be decreased by 1. This means that if there are only 3 revisions, I need the first one and the second one to be merged together with their comments, so there remain only two revisions:

Is there a way to do this?

I hope, the question is clear. Thank you in advance!

Upvotes: 0

Views: 40

Answers (1)

bahrep
bahrep

Reputation: 30662

Revisions in Subversion are immutable:

Revisions are immutable trees that build upon one another. Removing a revision from history would cause a domino effect, creating chaos in all subsequent revisions and possibly invalidating all working copies.

Therefore, there is no easy way to do this without major repository surgery that will affect all its users. And you don't need to do this. You should describe the actual problem you are trying to solve; there have to be better solutions than the one you currently think of.

Upvotes: 1

Related Questions