yowko / gource

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

Mercurial support does not seem to function on Windows machines #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install on Windows
2. Try to run gource on mercurial repo
3. Notice errors

What is the expected output? What do you see instead?
Should function as it does on other OSes.

What version of the product are you using? On what operating system?
Version 0.41 of gource, Windows 7 OS. I have not tested across entire Windows 
spectrum so cannot guarantee same issue exists on others but I would imagine it 
does.

Please provide any additional information below.
If you follow default install, gource is installed to "C:\Program Files 
(x86)\Gource". Let's then say you have a mercurial repo at C:\mercurial\myrepo. 
You can then try the following:

Run:
"c:\Program Files (x86)\Gource\gource.exe" c:\mercurial\myrepo

Returns:
abort: Files not under root 'c:\mercurial\myrepo'

Then try changing directory to the repo:

Run:
cd c:\mercurial\myrepo
"c:\Program Files (x86)\Gource\gource.exe"

Returns:
abort: style not found: 'c:\Program

Then try uninstalling gource and this time install to c:\Gource. Then run the 
following:

Run:
cd c:\mercurial\myrepo
"c:\Program Files (x86)\Gource\gource.exe"

Returns:
abort: style not found: 'C:\Gource\\data\gource.style'

Pretty much every combo I tried has some sort of path error (spaces or double 
slashes). Perhaps this is only tested on Windows boxes that have Cygwin or 
something?

Original issue reported on code.google.com by winstonw...@gmail.com on 7 May 2014 at 6:46

GoogleCodeExporter commented 9 years ago
Also... this issue seems similar 
https://code.google.com/p/gource/issues/detail?id=130

Original comment by winstonw...@gmail.com on 7 May 2014 at 6:47

GoogleCodeExporter commented 9 years ago
Thanks for the report.

It looks like I changed it to quote the path in single quotes which doesn't 
work with the Windows command prompt...

Original comment by acaudw...@gmail.com on 8 May 2014 at 12:23

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 13 May 2014 at 7:21