I have questions about the svn merge regarding to the following situation:
repo/A is trunk. It has two child branch call repo/B and repo/C
My questions are:
So now if I check out revision 12 from repo/B. I will also get the foo.c in my working directory, right? How do I (or am I able to) check out revision 12 with exactly same content as "NO-FOO-STATE"?
If I use following command sudo code:
svn delete repo/B
svn copy repo/B@12 repo/B
I try to revert to revision 12 by deleting repo/B and svn copy repo/B@12. Does the new reverted repo/B still have foo.c? If yes, how can I revert to "NO-FOO-STATE".
Thanks a lot.
if I check out revision 12 from repo/B. I will also get the foo.c in my working directory, right?
No, you will not get foo.c in R12 from repo/B, only in R13
In order to checkout any non-HEAD revision of repo-tree, use PEG-revisions format:
svn co URL@REV
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.