简体   繁体   中英

Deleting a incorrectly set SVN mergeinfo manually created with GIT-SVN

How do I delete a incorrectly set SVN mergeinfo from SVN? I made the mistake of creating a custom mergeinfo... SVN now reports the dreaded

svn: E200020: Pathname not terminated by ':' 

error. Is there a way to delete a specific mergeinfo from SVN? All I was able to find was a way to delete all mergeinfos.

SVN propget reports:

cd svn
svn propget svn:mergeinfo --depth=infinity | grep -v :
trunk - /PROJECT/branches/my_branch

I can't seem to delete it:

svn propdel svn:mergeinfo "/PROJECT/branches/my_branch"
svn: E155007: '/PROJECT/branches/my_branch' is not a working copy

We used svn propedit to edit the svn mergeinfo:

svn propedit trunk

The mergeinfo is a property on your svn directory, so you need to delete it from there and then commit it:

cd svn
svn propdel svn:mergeinfo 
svn commit -m "Deleting bad mergeinfo"

The /PROJECT/branches/my_branch indicates that revisions were merged into your working copy located in the svn folder from my_branch .

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