- Posts: 3
What is a revision number of the repository ... ?
- supermk2
- Topic Author
- Offline
Less
More
09 Jun 2015 03:54 #33685
by supermk2
What is a revision number of the repository ... ? was created by supermk2
What is a revision number of the repository about released Deviation 4.0.1 ?
I found a description from TortoiseHg(Target: bitbucket.org/PhracturedBlue/deviation).
So, I think that the revision number is 2096.
I did build rev 2096.
And then, If i execute a "emu_devo7e.exe" file, I can find information that "emu_devo7e-v4.0.1".
Is it correct ?
Thank you ..
I found a description from TortoiseHg(Target: bitbucket.org/PhracturedBlue/deviation).
So, I think that the revision number is 2096.
I did build rev 2096.
And then, If i execute a "emu_devo7e.exe" file, I can find information that "emu_devo7e-v4.0.1".
Is it correct ?
Thank you ..
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
09 Jun 2015 04:33 #33686
by PhracturedBlue
Replied by PhracturedBlue on topic What is a revision number of the repository ... ?
I don't know tortoise hg.
I use:
hg tagsNote that the numerical versions are not reliable due to the distributed nature of mercurial, but in this case it will be what you want. Officially 4.0.1 is 2095 (9a642a12446d). 2096 just commits the tag name, so it is equivalent. What you have is 4.0.1
I use:
hg tags
...
v4.0.1 2095:9a642a12446d
...
Please Log in or Create an account to join the conversation.
- mwm
- Offline
09 Jun 2015 07:18 #33691
by mwm
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Replied by mwm on topic What is a revision number of the repository ... ?
Interesting. That's not the right revision number, but it built with the right code, and the version string generation code figured out that you built with the code for that tag.
First, note that short numbers like "2096" are local to your repository. They may be different in another clone of the repository, depending on the order that changes reached that repository. The longer hex number shown in PB's extract (9a642a12446d) doesn't do that, and should be used to refer to revisions when talking about them with someone using a different repository. That one is old enough that it's unliikely to be different, but that's not true in general.
Looking at the tortoisehg screen shot, you can see that revision 2096:a02cf8e8fa36 added tag v4.0.1 to revision 2095:9a642a12446d. So the revision you actually want is 2095, as that matches the number in PB's repo, and my copy as well. But the difference between what you wanted and what you checked out was a change in the .hgtags file, not the source. So you built from the source you wanted.
First, note that short numbers like "2096" are local to your repository. They may be different in another clone of the repository, depending on the order that changes reached that repository. The longer hex number shown in PB's extract (9a642a12446d) doesn't do that, and should be used to refer to revisions when talking about them with someone using a different repository. That one is old enough that it's unliikely to be different, but that's not true in general.
Looking at the tortoisehg screen shot, you can see that revision 2096:a02cf8e8fa36 added tag v4.0.1 to revision 2095:9a642a12446d. So the revision you actually want is 2095, as that matches the number in PB's repo, and my copy as well. But the difference between what you wanted and what you checked out was a change in the .hgtags file, not the source. So you built from the source you wanted.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Durete
- Offline
Less
More
- Posts: 610
09 Jun 2015 07:45 #33693
by Durete
Replied by Durete on topic What is a revision number of the repository ... ?
Anyone could explain me how are generated the build version numbers?
I installed and learn to compile builds localy at my Windows machine some days ago.
Every build I compile, is named with something like "deviation-devo7e-v4.0.1-unknown.zip"
Sorry for this easy question, but I'm very noob compiling and my linux/programming skills are very basic
I installed and learn to compile builds localy at my Windows machine some days ago.
Every build I compile, is named with something like "deviation-devo7e-v4.0.1-unknown.zip"
Sorry for this easy question, but I'm very noob compiling and my linux/programming skills are very basic
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
09 Jun 2015 11:33 #33703
by PhracturedBlue
Replied by PhracturedBlue on topic What is a revision number of the repository ... ?
did you not do a 'hg clone' to get your code? the Makefile uses 'hg summary' to determine which version you are running. if it doesn't work, it uses 'unknown'
Please Log in or Create an account to join the conversation.
- Durete
- Offline
Less
More
- Posts: 610
09 Jun 2015 11:44 - 09 Jun 2015 11:46 #33708
by Durete
Replied by Durete on topic What is a revision number of the repository ... ?
I downloaded the zip file to my local machine. As I wrote before, I'm very noob at this stuff and my linux skills are nearly zero
Edit: But I learn very fast
Edit: But I learn very fast
Last edit: 09 Jun 2015 11:46 by Durete.
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds
- Home
- Forum
- Development
- Development
- What is a revision number of the repository ... ?