Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
783 views
in Technique[技术] by (71.8m points)

svn switch - SVN how to change branch keeping working copy untoucthed?

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

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

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...