I am being asked to troubleshoot an issue caused by incorrect use of subversion (as far as I can tell).
Here's the history, which has been marred by some time passing, user confusion, etc. but is the best I can figure out. The intended goal was to archive the file set at a given point in time (essentially to tag the repository but the user did not know this).
Thinking I'd try the following:
Does this make sense or am I opening myself up to other issues?
Got the following from the user:
So it looks like the user copied .svn folders in an attempt to make a commit work, and then it apparently did add and commit, except we're not sure if it did because we can't find it in the log.
You should just update the root svn folder. It will retore the deleted (moved) files, the other one that were not indexed will not be touched.
Then you can use the svn delete command to clean, or svn move or svn copy. But if you do that you will lose the ew "not yet indexed files" and the changes. So perhaps, the svn delete is easyer (but you will lose the history, because svn will have no way to know that the new file is a move from another one)
You have to solve 2 tasks, as I see
yes?
So, after conferring with the group, we were able to do the following to fix the issue:
rsync -avr --exclude='.svn*' /originaldirectory /cleandirectory
Needless to say, we'll be going over Subversion best practices with them soon. Thank you for the pointers, all!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.