プロジェクト

全般

プロフィール

Vote #70434

未完了

Add support for annotate with subversion when username contain space

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2011/07/28
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
8934
author_id:
37241
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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).

Admin Redmine さんが約2年前に更新

  • カテゴリSCM_3 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0