> On Jun 2, 2016, at 11:22 AM, Robinson, Paul <paul.robin...@sony.com> wrote:
> 
>>> 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.

I think I've answered to this before but it does not help to solve the 
cross-repository problem, we need a "meta integration repository".

-- 
Mehdi

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to