gnperumal / gource

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

Subtree not displaying correctly #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two repos, one called e.g. "project" and one called "sub"
2. Add the sub repo as a subtree to the project repo.
This will create a folder inside the project repo called e.g. sub (That's how 
subtrees works)
3. Run gource.

What is the expected output? What do you see instead?
Expected : correct tree (aka, files inside the "sub" directory in the repo 
(thanks to the subtree) appear to be inside a "sub" directory when viewed on 
gource.
What I see : Since all files in the commits appear in the root directory of the 
"sub" repo, they also appear as root files of the "project" repo once seen on 
gource.
I believe the problem is that the path of the files in the commits is set as 
/files and not /sub/files (because the commits are the one from the other repo)

What version of the product are you using? On what operating system?
 gource-0.40 from homebrew (mac osx 10.9.1)

EDIT : d'oh, after trying to uninstall and reinstall gource, well .. i can't 
even reinstall it T_T 

brew install gource
==> Downloading http://gource.googlecode.com/files/gource-0.40.tar.gz
Already downloaded: /Library/Caches/Homebrew/gource-0.40.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gource/0.40 --without-x
==> make install
  "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::codecvt<wchar_t, char, __mbstate_t> const&)", referenced from:
      GourceSettings::importGourceSettings(ConfFile&, ConfSection*) in gource-gource_settings.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [gource] Error 1

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
    https://github.com/Homebrew/homebrew/issues/23588
    https://github.com/Homebrew/homebrew/issues/1496
    https://github.com/Homebrew/homebrew/issues/20100
    https://github.com/Homebrew/homebrew/issues/22025
    https://github.com/Homebrew/homebrew/pull/8984
    https://github.com/Homebrew/homebrew/pull/17002
    https://github.com/Homebrew/homebrew/pull/5711
    https://github.com/Homebrew/homebrew/pull/5666

Original issue reported on code.google.com by TheNirah...@gmail.com on 5 Jan 2014 at 7:13

GoogleCodeExporter commented 9 years ago
EDIT : After uninstalling and reinstalling all of my brew things, gource works 
again, but I still have the same problem

Original comment by TheNirah...@gmail.com on 5 Jan 2014 at 7:42

GoogleCodeExporter commented 9 years ago
Hi,

Gource doesn't currently have any specific support for git subtrees. It's just 
rendering what is produced by 'git log' (see gource --git-log-comamnd).

Feel free to look into it if you like.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 8 Feb 2014 at 1:10