Beispiel #1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            if (fetchResult != null)
            {
                sb.Append(fetchResult.ToString());
            }
            else
            {
                sb.Append("No fetch result");
            }
            sb.Append("\n");
            if (mergeResult != null)
            {
                sb.Append(mergeResult.ToString());
            }
            else
            {
                if (rebaseResult != null)
                {
                    sb.Append(rebaseResult.ToString());
                }
                else
                {
                    sb.Append("No update result");
                }
            }
            return(sb.ToString());
        }