APD.IntegrationTests.VCS.Git.ChangesetRepositorySpecs.min_changeset C# (CSharp) Method

min_changeset() protected static method

protected static min_changeset ( ) : long
return long
        protected static long min_changeset()
        {
            if (_minChangesetChache == null)
            {
                _head = _repo.Get<Commit>("HEAD");
                return (_head.Ancestors.Count() + 1) - MAX_NUMBER_OF_REVISIONS_TO_RECEIVE;
            }
            return (long)_minChangesetChache;
        }
    }