Changes between Version 1 and Version 2 of TracLinks
- Timestamp:
- Jan 30, 2006, 11:09:12 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracLinks
v1 v2 16 16 * Wiki pages: '''CamelCase''' or '''!wiki:CamelCase''' 17 17 * Milestones: '''!milestone:1.0''' 18 * Attachment: '''!attachment:ticket:944:attachment.1073.diff''' 18 19 * Files: '''!source:trunk/COPYING''' 19 20 * A specific file revision: '''!source:/trunk/COPYING#200''' … … 26 27 * Milestones: milestone:1.0 27 28 * Files: source:trunk/COPYING 29 * Attachment: attachment:ticket:944:attachment.1073.diff 28 30 * A specific file revision: source:/trunk/COPYING#200 29 31 … … 51 53 It might seem a simple enough concept at a glance, but actually allows quite a complex network of information. In practice, it's very intuitive and simple to use, and we've found the "link trail" extremely helpful to better understand what's happening in a project or why a particular change was made. 52 54 55 == attachement: links == 56 57 The link syntax for attachments is as follows: 58 * !attachment:the_file.txt creates a link to the attachment the_file.txt of the current object 59 * !attachment:wiki:MyPage:the_file.txt creates a link to the attachment the_file.txt of the !MyPage wiki page 60 * !attachment:ticket:753:the_file.txt creates a link to the attachment the_file.txt of the ticket 753 !attachment:wiki:MyPage:the_file.txt 61 53 62 == source: links == 54 The default behavior for a source:/some/path link is to open the directory browser if the path points 55 to a directory and otherwise open the log view. It's also possible to link directly to a specific 56 revision of a file like this: source:/some/file#123 or like this to link to the latest revision: 57 source:/some/file#latest. 63 64 The default behavior for a source:/some/path link is to open the directory browser 65 if the path points to a directory and otherwise open the log view. 66 It's also possible to link directly to a specific revision of a file like this: source:/some/file@123 67 or like this to link to the latest revision: source:/some/file@latest. 68 If the revision is specified, one can even link to a specific line number: !source:/some/file@123#L10 69 [[comment(TODO: remove the ! when Edgewall Trac is upgraded with the support for the line syntax)]] 70 71 == Quoting space in TracLinks == 72 73 The usual syntax for quoting space is: 74 75 * !attachment:'the file.txt' or 76 * !attachment:"the file.txt" 58 77 59 78 == Where to use TracLinks ==