プロジェクト

全般

プロフィール

Vote #70802

未完了

Specify a specifc branch in a reference

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

ステータス:
Reopend
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
-
開始日:
2011/10/06
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
9385
author_id:
4
assigned_to_id:
0
comments:
6
status_id:
8
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Reopend]

説明

I was trying:

source:"../show?rev=vc_port"

But the ? was transformed %3F

So maybe there is another on how I can specify a branch with the source referencing?


journals

It got transformed so try this

source : "../show?rev=vc_port"
--------------------------------------------------------------------------------
Please ask your questions in forum, this tracker is for bugs and feature requests only.

BTW, you're not using the source syntax adequately, see "wiki syntax help page":/help/wiki_syntax.html (use e.g. source:/branches/1.2-stable/README.rdoc).
--------------------------------------------------------------------------------
SPAM
--------------------------------------------------------------------------------
Sorry I wasn't clear enough, but with my git repository it doesn't work the syntax you are suggesting.

For example in my case I would be able to do

source:/branches/vc_port/README.txt

It opens the link but I get the following error:

<pre>

404

The entry or revision was not found in the repository.

Back
</pre>

--------------------------------------------------------------------------------
The forum entry for this seems to be "Link to respository file on branch":http://www.redmine.org/boards/2/topics/22548.

However, there currently is no solution to link to a file in a specific git branch.
--------------------------------------------------------------------------------
I found the solution to link to a file in a specific branch of the linked git repository:
<pre>
source:"../revisions/branch_name/entry/path/to/the/file"
</pre>
Simply replace branch_name by the name of the specific branch and replace the path of the file at the end.
You *must* put the quotes around the path, otherwise the .. will not be parsed correctly.
--------------------------------------------------------------------------------

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

  • カテゴリText formatting_26 にセット

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

いいね!0
いいね!0