> > How do you get monotonically increasing number with a history graph? > > I think what we're trying to get is a "pushed" revision number, i.e. > tracking the state of the upstream repositories at a given time.
I think I've mentioned this before but internally we are (mostly) using "rev-list --count --first-parent branch-name" which gives us a monotonically increasing number per-branch. The --first-parent means each merge counts as one, which is enough for build-number uniqueness. Unique sequential build numbers meet our internal needs. If this number gets incorporated into the version numbering self-reported by Clang/LLVM, then it's not hard to map back onto git commits. --paulr _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev