Slow git-svn refiling report "W: unknown path / turnover" and "W: svn cherry-pick ignored"

I am using git-svn on top of the standard version Subversion repository.

Since we started using branches, git svn rebase became slow as hell (especially on Windows machines), and reports tons of the following warnings:

 [...] W:unknown path/rev in svn:mergeinfo dirprop: /branches/2.0.x:3152 W:unknown path/rev in svn:mergeinfo dirprop: /branches/2.0.x:3157 W:unknown path/rev in svn:mergeinfo dirprop: /branches/2.0.x:3159-3196 [...] W:svn cherry-pick ignored (/branches/2.0.x:852-853,855-861,865-884,3078,3081-3082,3102,3105-3109,3111,3119,3121,3125-3126,3129,3131,3133-3135,3138,3143-3144,3146-3147,3150,3152,3157,3159-3196,3198-3201,3208-3219) - missing 1 commit(s) (eg 606cd9303f245a6c93cea57ecf4d6faf585616cf) r3222 = 240a0faa016ce74d708832a1d88e32b5f939bfb5 (refs/remotes/trunk) 

What are all of them (unknown path / turnover and lack of commits) and how can I resolve them to avoid slowing down synchronization with the subversion repository?

We really stick to the standard Subversion repository layout and merge carefully with the branches. Thus, the properties of svn:mergeinfo are correct, and all this makes sense.

PS: I noticed that using git svn fetch at least seems to minimize warnings about the unknown path. But what are these β€œmissing” warnings?

+4
source share
1 answer

It all comes from how SVN stores merge metadata and how git processes this information.

At the end, you will see in the git repository all svn transactions performed on each branch, but you will not see that they are due to a merge. This sucks IMO.

You can read a good explanation of why this is happening, and even a good example in this answer: fooobar.com/questions/180311 / ...

I noticed that with a git tool (e.g. SmartGit) I could get this information in a git repository. I assume that since the tool launches a long list of git commands for each selection. Perhaps you will try to reproduce these commands to make the conversion beautiful ... it all depends on how much you want it :)

+1
source

Source: https://habr.com/ru/post/1497958/


All Articles