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

windows version detection using hg fails #4029

Closed
DorpsGek opened this issue Aug 13, 2010 · 1 comment
Closed

windows version detection using hg fails #4029

DorpsGek opened this issue Aug 13, 2010 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Hirundo opened the ticket and wrote:

In r20482, version detection causes a compile error by returning "" (nothing) as REVISION, breaking rev.cpp.

The command run by determineversion.vbs is this:
"hg log -f -k "(svn r" -l 1 --template "{desc}\n" ../"

When the same command is entered from the command prompt, the following error message is shown:
abort: cannot follow nonexistent file: "."

Removing the -f flag fixes this, so the problem seems to be introduced in r20309

Changing "../" to "--cwd ../" in the command fixes the problem (at least for me), as is done in the attached diff.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4029
@DorpsGek
Copy link
Member Author

Terkhen closed the ticket.

Reason for closing: Fixed

In r20488.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4029

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant