How to combine SVN commits?

前端 未结 4 1955
逝去的感伤
逝去的感伤 2021-01-14 17:35

How do I take a range of commits in my SVN repository and combine them?

For example, revisions 4-10 exist in the repository and I want to combine them into a new rev

4条回答
  •  悲&欢浪女
    2021-01-14 18:22

    If you really need to do this, then check out each revision (not single-file commit) from ClearCase and then manually copy the files over a new SVN checkout using a tool like WinMerge to make sure all file adds and deletions are copied over as well as changes. Then do an SVN commit.

    If this is too much manual work due to the number of ClearCase commits (although you could probably automate this without too much difficulty), then consider just committing major revisions to SVN (e.g., point releases) manually.

    If that is not feasible, then consider not bringing over any revision history from ClearCase - just start fresh with SVN. Perhaps commit a text file with the old change log from ClearCase for historical purposes, so that if someone needs to go back and get some old code, they can figure out what revision to look for.

提交回复
热议问题