Re: Subversion-style incrementing revision numbers
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 19, 2006, 22:20 UTC
- Message-ID
- <Pine.LNX.4.64.0609191519090.4388@g5.osdl.org>
- In-Reply-To
- <20060919220604.GE8259@pasky.or.cz>
On Wed, 20 Sep 2006, Petr Baudis wrote:
Show 9 quoted lines
> > > It might be that "r1.56" was done on another branch, and is totally > > unrelated to "r1.57" (other than they sharing some common ancestor far > > back). > > This is actually exactly how SVN revision numbering works. There's just > a single number (no '1.') and it indeed jumps randomly if you have > several concurrent branches in your (ok, Linus does not have any, just > someone's) repository.
Oh, ok, if it's just a single numbering, then that's easy to do. It won't _mean_ anything, and you're seriously screwed if you ever merge anything else (or use a git that doesn't update the refcache or whatever), but it is simple and stable within a single repo.
Linus