Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a branch with many changes. I've merged trunk to it, and now have working copy state equivalent to hypothetical state of trunk-with-my-branch-merged-to-it.

To avoid pain with namely merging branch to trunk, I want to just say: "Hey, SVN, lets consider my working copy is working copy of trunk from now (not of my branch)."

I expect that working copy will be kept untouched & SVN shows me total diff of it to trunk, suggesting me to commit all those changes.

(It's like flattened all branch history to a single commit) - this flattenning is not the purpose (and, moreover, is unwanted) but it's reasonable price for avoiding of merging pain.

How can I do it?

I've red some similar posts here (even titled very similar), but didn't find an answer.

There are 2 tools, but it looks like none is appropriate to my need:

question from:https://stackoverflow.com/questions/65917483/svn-how-to-change-branch-keeping-working-copy-untoucthed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
878 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...