プロジェクト

全般

プロフィール

Vote #63771

完了

Patch for #1794 (No file browsing in Darcs repos)

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

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

0%

予定工数:
category_id:
3
version_id:
2
issue_org_id:
1799
author_id:
1854
assigned_to_id:
0
comments:
1
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I'm attaching a patch (against r1747) that fixes my #1794 defect issue.

  • app/models/repository/darcs.rb Before calling the darcs scm adapter, darcs needs the revision number being translated to the scmid. This was working for the entries(), diff() and fetch_changesets() methods. I added this for entry() and cat() in a similar fashion.
  • lib/redmine/scm/adapters/darcs_adapter.rb Starting from version 2.0.0, darcs supports listing the contents of a file in the repository. I added the code to read the version number and the cat() method (similar to what is there for subversion).

These were my first ruby lines - I hope I didn't screw up ... I'd be happy to see them upstream. Thanks for the great application!


journals

Patch committed in r1759 with slight changes. Thanks for your contribution.
--------------------------------------------------------------------------------

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

  • カテゴリSCM_3 にセット
  • 対象バージョン0.8_2 にセット

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

いいね!0
いいね!0