Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mercurial-gource breaks up filenames with spaces #24

Closed
GoogleCodeExporter opened this issue May 2, 2015 · 4 comments
Closed

mercurial-gource breaks up filenames with spaces #24

GoogleCodeExporter opened this issue May 2, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. create a mercurial repository with filenames containing spaces
2. run mercurial-gource.py

What is the expected output? What do you see instead?

Expected an entry for each filename, got an entry for each space-separated
filename component.

What version of the product are you using? On what operating system?

mercurial-gource 1.0, on win32

Please provide any additional information below.

I rewrote/refactored the script using Mercurial styles, which are one step
up from templates, and can format files individually.  Actually, a style
file would be sufficient if not for a date format mismatch.

http://bitbucket.org/JustinLove/stylish-mercurial-gource/

Original issue reported on code.google.com by sepiaton...@gmail.com on 5 Dec 2009 at 3:20

@GoogleCodeExporter
Copy link
Author

Cool.

Since from the look of it Mercurial has similar-or-better quality log support 
to Git,
I think I might add some proper integration for it.

Gource can work out it been given a Mercurial directory, and invoke hg log with 
your
gource.style and I'll make it accept timestamps with sub second precision.

Original comment by acaudw...@gmail.com on 6 Dec 2009 at 10:23

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Mercurial support is now built in. Cheers!

Original comment by acaudw...@gmail.com on 12 Dec 2009 at 2:34

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

Awesome, thanks.

One small problem though: the default log command comes out in reverse order, 
and
then gource processes it in file order.  You should pass -r 0:tip to put it in
forward order.  Did I miss a way to pass arguments through to the log command?

Original comment by sepiaton...@gmail.com on 12 Dec 2009 at 2:59

@GoogleCodeExporter
Copy link
Author

Doh! Thanks for picking up on this. I've merged your commit and I'll update the 
release.

Cheers

Original comment by acaudw...@gmail.com on 12 Dec 2009 at 7:27

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant