GithubHelp home page GithubHelp logo

Comments (4)

pfeuffer avatar pfeuffer commented on June 16, 2024

Hi @nikobcs ,

the counter you are missing is a number, that differs from instance to instance of a single repository. So number 42 on your PC could be number 23 on the server. Therefore we did not think that this would be of great value (and currently this cannot be configured). I'd be interested in the use case you would like to have this number for.

Thanks
René

from scm-manager.

nikobcs avatar nikobcs commented on June 16, 2024

Hi @pfeuffer,
It’s not entirely clear why the version number can be different on the server and on the client?

Very complex (however reproduceable) calculations.
At some moment we see difference in results.
Problem: find the commit leaded to such change in result to juge for correctness
Our solution (aka bisection):
• sync to some old revisision, reproduce "old" result.
• sync to head. reproduce "new" result.
• sync to "midpoint". get result. If result is same as "old" – continue to search in upper (newer) halve, otherwise continue to search in lower (older) halve.
Running sequence of Revision is very convinient for such bisect algorithm.
Of course the procedure could be automated, however it is not an easy task because of infrastructure.

from scm-manager.

pfeuffer avatar pfeuffer commented on June 16, 2024

Hi @nikobcs ,

I know this feature from Git and I love it. And as far as I get it, there is no need to change the way you are working in a relevant way. The only important point you need to consider is, that revision numbers are not necessarily the same for revisions on all clones. See this excerpt from the hg documentation:
image

So, your workflow must not rely on the revision number, though you can use it to iterate the commits in your clone. To later identify a revision, you always have to use the hash code.

Hope this helps :-)
René

from scm-manager.

nikobcs avatar nikobcs commented on June 16, 2024

I understand. Thank you for your help!
Have a good day!

from scm-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.