1

We use subversion's commit number as a build number. I'm on a different repo now, and want to adjust the Subversion commit number so it is inline with the original repo. Is this possible?

1 Answer 1

1

No. Short of making a bunch of commits to the new repo to make the number match.

I'd recommend appending the svn revision number or the build system build id to the semantic version. For example, if you had 1.2.0-3344 in the old repo, you could bump the number in the new repo to 1.2.1-1 (assuming the code didn't change enough to up other parts of the version).

TL;DR - build numbers alone don't uniquely identify. You won't likely be able to control the build numbers to the degree you want. Build numbers are helpful to decorate version numbers.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.