简体   繁体   中英

creating a branch from a branch in svn

I want to create a branch from a certain branch. However, there is one sub-directory which has an older revision, and I need to get the latest revision of this sub-directory from another branch. We will still continue to work on the two branches plus the new one that we intend to create. I am wondering what is the best way to approach this.

  1. Create branch from branch ( svn co ... ) URL-URL
  2. Merge "one sub-directory" from another branch to created on p.1 branch (in it's WC) and commit

or

  1. Switch (WC) to branch, which must be main parent, update
  2. cd to "one sub-directory which has an older revision", relocate it to "sub-directory from another branch", update
  3. Create branch from WC ( svn co ... ) WC-URL

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM