プロジェクト

全般

プロフィール

Vote #65787

未完了

The SubversionAdapter entries function should use io.readlines instead of io.read

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

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

0%

予定工数:
1.00時間
category_id:
3
version_id:
0
issue_org_id:
3951
author_id:
8415
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
10
ステータス-->[New]

説明

The SubversionAdapter entries function should use io.readlines instead of io.read. It has the potential to proceed with a partial document.


journals

What is the problem with io.read ?
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> What is the problem with io.read ?

io.read doesn't wait until the process was finished. We had an SVN server that we were communication with over a slow connection. As a result, io.read would only return a small portion of the SVN entries before trying to parse the XML file.
--------------------------------------------------------------------------------
Brandon Enochs wrote:
> Jean-Philippe Lang wrote:
> > What is the problem with io.read ?
>
> io.read doesn't wait until the process was finished. We had an SVN server that we were communication with over a slow connection. As a result, io.read would only return a small portion of the SVN entries before trying to parse the XML file.

io.readline and io.readlines have the same problem.

It reads only small portion.
--------------------------------------------------------------------------------
Really? Using io.readlines fixed our problem of io.read not waiting until the process had finished.

--------------------------------------------------------------------------------
I think IO.popen() doesn't work WELL on Windows 2003.

see this: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2672&group_id=426

--------------------------------------------------------------------------------

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

  • カテゴリSCM_3 にセット

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

いいね!0
いいね!0