Example #1
0
        public static CommitSelectionExpression AfterTag(
            this CommitSelectionExpression parentExp, string tag)
        {
            var commitWithTag = parentExp.Fixed().WithTags(tag).SingleOrDefault();

            if (commitWithTag == null)
            {
                return(parentExp.Reselect(c => c.Take(0)));
            }

            return(parentExp.AfterRevision(commitWithTag.Revision));
        }