Vote #70434
未完了Add support for annotate with subversion when username contain space
0%
説明
When username contains space(s), annotate doesn't work for subversion because it uses the "@blame@" subcommand which returns the file given prefixed by the revision number and the author separated by spaces. So any parsing based on that will break if author can contain spaces.
The attached patch uses the same subcommand but with the additional @--xml@ option in order to obtain a full xml instead of space separated fields.
The drawback is that the lines themselves are not returned by svn when @--xml@ is used. Consequently, one needs to call both @blame --xml@ and @cat@ subcommands to have both the metadata and the content.
The included patch can be used on top on 1.2 and 1.2.1 (at least).