Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

doc: document new changeset message linking features

Changeset 15f4a07de227

Parent 25ab8763e50f

by Steve Borho

Changes to one file · Browse files at 15f4a07de227 Showing diff from parent 25ab8763e50f Diff from another changeset...

 
329
330
331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
333
334
 
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
@@ -329,6 +329,40 @@
 patches into a repository, so this must be done on the command line with  the :command:`hg import` command.   +Message Parsing +--------------- + +New in TortoiseHg 0.10, the repository browser will detect and underline +changeset hashes and bug report identifiers inside changeset messages. These +underlined phrases are clickable links. + +Every word-boundary delimited string of 12 or 40 characters from the +range [0-9a-f] is considered a changeset link. Clicking on it in the +repository explorer will jump to the given changeset if possible. + +Issue tracker links are enabled when configured in the tortoisehg +section of the configuration files. There are two keys: issue.regex +and issue.link. The first defines the regex to match when picking up +issue numbers, while the second defines the command to run when an +issue number is recognized. + +You may include groups in issue.regex, and corresponding {n} tokens +in issue.link (where n is a non-negative integer). {0} refers to the +entire string matched by issue.regex, while {1} refers to the first +group and so on. If no {n} tokens are found in issue.link, the entire +matched string is appended instead. + +Examples:: + + BitBucket: + issue.regex = #(\d+)\b + issue.link = http://bitbucket.org/<your project and repo>/issue/{1}/ + + Mercurial: + issue.regex = \bissue\d+\b + issue.link = http://mercurial.selenic.com/bts/ + +  Keyboard navigation  -------------------