1
This has probably already been asked, and I certainly would appreciate if someone finds a proper duplicate. However, please make sure to read the question carefully before marking it as duplicate.
A while ago, I accidentally renamed a set of file without properly renaming the files in TortoiseSVN. Instead of associating the deleted files with their renames, I did a commit that simply deleted the files and added others. Now I would like to fix the association between the two files so the previous history shows up in the log for that file. I have a certain idea that a revert may help, but I am admittedly somewhat ignorant of how reverts work in TortoiseSVN, and they may not actually be the solution.
To clarify, I want to:
- Rename the files so that the Tortoise SVN
log
includes their previous history- I am aware this might be a multi-step process, and my general understanding is that the process would be something like the following:
- Revert the changes
- Rename the files the right way
- Get back the changes in the commit since the original
- Using this particular process, I am unsure how to properly handle step 3; ideally, each of my old individual commits would be accreted in the same way to the same files, but I don't know how to do that. Or perhaps I am misguided, and I really should just take the content of the latest commit and add it as the next commit to those files.
- I am aware this might be a multi-step process, and my general understanding is that the process would be something like the following:
Note I have already referenced the following links, and while helpful, did not provide a direct answer to my question:
I'm not sure what your actual question is about: How to do what you want, reverts or if it's possible at all? Because your subject is simply not possible, the way to go is to revert your two changes and instead of deleting rename the files. But you already mentioned that yourself in the end. – Thorsten Schöning – 2018-11-18T15:25:12.513
1@ThorstenSchöning Sorry for the lack of clarity. I've edited my question. I'm trying to avoid asking an XY-question. – Graham – 2018-11-18T16:23:04.300