bf61edfcc1
ignored by the ignore-paths option. For example if you want to ignore all exe files except the .nuget/NuGet.exe file, you can add exe$ to the ignore-paths and ^\.nuget to the ignore-except. Added --except-regex command line option to RemoteOptions to set ignore-except config. New tfs-remotes for branches now will copy the ignore-paths and ingore-except options from the default tfs remote.
28 lines
895 B
C#
28 lines
895 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Sep.Git.Tfs.Commands;
|
|
|
|
namespace Sep.Git.Tfs.Core
|
|
{
|
|
public class RemoteInfo
|
|
{
|
|
public string Id { get; set; }
|
|
public string Url { get; set; }
|
|
public string Repository { get; set; }
|
|
public string Username { get; set; }
|
|
public string Password { get; set; }
|
|
public string IgnoreRegex { get; set; }
|
|
public string IgnoreExceptRegex { get; set; }
|
|
public IEnumerable<string> Aliases { get; set; }
|
|
public bool Autotag { get; set; }
|
|
|
|
public RemoteOptions RemoteOptions
|
|
{
|
|
get { return new RemoteOptions { IgnoreRegex = IgnoreRegex, Username = Username, Password = Password }; }
|
|
set { IgnoreRegex = value.IgnoreRegex; Username = value.Username; Password = value.Password; }
|
|
}
|
|
}
|
|
}
|