nelsnelson / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Root directory not highlighting (if exist) #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This applies to custom log format.

This is best seen in case of SVN repositories.
Due to nature how SVN handles branches /trunk directory (or similar)
root directory (if exist) should be always highlighted.
Currently when no branches yet exist, /trunk dir is not highlighted at all
and all other subdires have /trunk dir attached. So if changes goes into
include/h.h, gource highlights it as trunk/include/h.h.
When the first branch appears, highlighting starts to work as expected.

Im attaching bircd.log file in custom format so you can reproduce this.

Original issue reported on code.google.com by b...@uu3.net on 12 Dec 2009 at 10:33

Attachments:

GoogleCodeExporter commented 9 years ago
Okey, I found the simple workaround to make it nice.
Im adding pair of |A|/NULL |D|/NULL at the begining of log file
to mark the repo root directory. After that, everything work as expected.

Original comment by b...@uu3.net on 15 Apr 2010 at 11:52