After migrating from TFS to Subversion, we have found out that one of the files (a branch operation) of a changeset is missing. The tool that we have used implemented branching as delete and add op开发者_Go百科eration separately and in this case it missed to add that file.
After hundreds of revisions later we discovered the problem and fixed it immediately by adding the file to latest version.
However I also would like to add that file to the previous changeset (the broken changeset). Is it possible to do that in Subversion?
(Note: I know it is way too hackish, but that revision must also be compilable as it was also a release. Currently I can only checkout that file from a previous revision and check out the remaining files from that revision which seems to be the only possible solution.)
Well, the easiest way would be to check out (or switch to) that branch/tag, add the file, and commit a new revision.
As for adding it to a previous changeset... it's probably possible, but generally a bad idea.
精彩评论