pauldotknopf / gource

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

Edge for folder is not displayed #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I started with a fresh SVN repository and added and committed 
folder1/file1.txt:

/folder1/file1.txt

In Gource this is displayed with just a node for file1.txt without the edge for 
folder1.  This state is attached as my-project-log-1.xml.

2. Now I added and committed folder2/file2.txt:

/folder1/file1.txt
/folder2/file2.txt

Gource now correctly displayes two edges with two nodes.  This state is 
attached as my-project-log-2.xml.

What is the expected output? What do you see instead?
After adding folder1/file1.txt Gource should display an edge for folder1.  The 
edge is only displayed if a second folder with a file is added, or if the root 
directory contains a file.

What version of the product are you using? On what operating system?
gource-0.37.win32

Original issue reported on code.google.com by m.grit...@gmail.com on 5 Nov 2011 at 11:48

Attachments:

GoogleCodeExporter commented 9 years ago
Hi.

The root node in Gource is the common parent directory of all the files, so 
initially it is the directory of the first file added.

SVN and CVS file paths always have additional directories above the actual 
'root' of the project, as opposed to say Git, so this process infers the true 
root directory of the project.

This gives the tree 360 degrees of freedom to expand rather than expanding off 
in one direction.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 6 Nov 2011 at 1:40

GoogleCodeExporter commented 9 years ago
I see.  In this case the issue status could be changed to invalid.

Original comment by m.grit...@gmail.com on 6 Nov 2011 at 9:28

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 6 Nov 2011 at 9:46