AlexMax
Senior Member

Posts: 1070
Registered: 01-03 |
Graf Zahl said:
That utility clearly shows that this is important.
I've never seen anyone actually use this utility.
If users had to refer to revisions by some random multi-digit number, decent bug reporting like on the ZDoom forum would not be possible.
The hash might be long, but users only need to tell you the first couple of letters and numbers. If you pair that with a date, it's a solved problem.
Well, it all depends on the project. This is all nice and well for large decentralized projects
Git projects are not chaos. There is still usually one canonical 'master repository', it's just that individuals can commit to their own local work machine and still have sane merging capabilities once they're ready to merge their stuff in with everybody else.
The stuff I am working on rarely uses development branches (development time is measured in months, not years and if a project is done, it's done.) so the need to communicate revisions does not extend past the incremented revision number.
One of the big epiphanies that you discover using Git branches or Hg bookmarks is that branches are not sacred, you can have as many as you like for many different trains of thought. Workflows like "Hrm, this approach might be bad, let me start at square one and try a different tack" and "Hrm, that approach turned out to be a dead end, let me go back to the way I was doing it originally." are easy. And nobody else has to know they exist, everyone else only sees what you push.
If I can fetch that revision number for release builds, yes, that would do. But if I remember correctly, the local copy would have its own sequential list of revision numbers, or am I missing something?
Correct. The revision numbers in Mercurial are meaningless to anyone except your own local repository. If you're looking for something to put in the lower right hand corner of the GZDoom console, just use the date and a partial hash (r2012.02.13-ccc8780c), and just ask for the date and first few letters of the hash when you take bug reports. Done. Solved problem. Next stop, world hunger.
|