简体   繁体   中英

When can I remove entries in svn:mergeinfo?

I've used TortoiseSVN for several years.

Several branches were created, merged back to trunk, and then deleted.

Example of deleted branches:

https://SvnServer/svn/MyProject/branches/branch1 https://SvnServer/svn/MyProject/branches/branch2 https://SvnServer/svn/MyProject/branches/branch3

The svn:mergeinfo of the trunk (https://SvnServer/svn/MyProject/trunk) still contains those merge tracking info for those deleted branches.

Example of svn:mergeinfo:

/branches/branch1:2106-2146
/branches/branch2:1983-2028
/branches/branch3:1698-1741

Are these info still necessary? Can I remove them from svn:mergeinfo property?

Are they a problem? I would Just leave them, we have loads and loads of them on our Trunk. You never know if you may need to see which revisions of a branch were merged into the trunk. Also, the braches can still be viewed using the Repo Browser and just picking the revision before they were deleted.

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