Ncowley / gource

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

Gource aborts on hg paths with spaces (Windows) #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded and extracted gource-0.34.win32.zip into C:\Documents and 
Settings\user\My Documents\bin\gource and added it to my path. When I open a 
command prompt in my Mercurial directory and try running "gource", I get this 
error:

    abort: style not found: C:\Documents

There are two problems. 1) the path to gource has spaces in it and 2) the path 
to the repository has spaces in it. Eliminating one or the other results in 
more intuitive error messages:

Running C:\temp\gource on a repository in C:\Documents and Settings\user\My 
Documents I get this error:

    abort: repository C:\Documents not found!
    gsource: directory not supported

Running C:\Documents and Settings\user\My Documents\bin\gource on a repository 
in C:\temp, I get this error:

    abort: and not under root
    gource: directory not supported

When I placed both gource and the repository under C:\temp\ the program worked.

(As an aside, once I got it to run, it looked pretty cool!)

Original issue reported on code.google.com by wmhilton on 27 May 2011 at 1:41

GoogleCodeExporter commented 8 years ago
Hi. I have just fixed this in the development version. It appears it was 
limited to the Mercurial log commands.

Thanks for pointing this out.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 28 May 2011 at 10:00

GoogleCodeExporter commented 8 years ago

Original comment by acaudw...@gmail.com on 9 Jul 2011 at 10:31