Feature #9385

Specify a specifc branch in a reference

Added by Anonymous about 10 years ago. Updated about 9 years ago.

Status:ReopenedStart date:2011-10-06
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution:Invalid

Description

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?

History

#1 Updated by Anonymous about 10 years ago

It got transformed so try this

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

#2 Updated by Etienne Massip about 10 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

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 (use e.g. source:/branches/1.2-stable/README.rdoc).

#3 Updated by Griffin Beckett about 10 years ago

SPAM

#4 Updated by Anonymous about 10 years ago

  • Status changed from Closed to Reopened

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:


404

The entry or revision was not found in the repository.

Back

#5 Updated by Oliver Kopp over 9 years ago

The forum entry for this seems to be Link to respository file on branch.

However, there currently is no solution to link to a file in a specific git branch.

#6 Updated by Gaspard van Koningsveld about 9 years ago

I found the solution to link to a file in a specific branch of the linked git repository:

source:"../revisions/branch_name/entry/path/to/the/file" 

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.

Also available in: Atom PDF