예제 #1
0
		protected Repository (VersionControlSystem vcs): this ()
		{
			VersionControlSystem = vcs;
			Repositories.SetValue (Repositories.Count + 1, string.Format ("Repository #{0}", Repositories.Count + 1), new Dictionary<string, string> {
				{ "Type", vcs.Name },
				{ "Type+Version", string.Format ("{0} {1}", vcs.Name, vcs.Version) },
			});
		}
예제 #2
0
		public GitRepository (VersionControlSystem vcs, FilePath localPath) : base (vcs)
		{
			string gitDir;
			if (Environment.GetEnvironmentVariable("GIT_DIT") != null)
				gitDir = Environment.GetEnvironmentVariable("GIT_DIR");
			else
				gitDir = localPath;

			if (!gitDir.EndsWith(GitSharp.Core.Constants.DOT_GIT_EXT))
				gitDir = Path.Combine(gitDir, GitSharp.Core.Constants.DOT_GIT);

			_coreRepository = new GitSharp.Core.Repository(new DirectoryInfo(gitDir));
		}
예제 #3
0
		public GitRepository (VersionControlSystem vcs) : base(vcs)
		{
		}
예제 #4
0
		public UrlBasedRepository (VersionControlSystem vcs): base (vcs)
		{
		}
예제 #5
0
		public virtual void CopyConfigurationFrom (Repository other)
		{
			name = other.name;
			vcsName = other.vcsName;
			vcs = other.vcs;
		}
예제 #6
0
		public Repository (VersionControlSystem vcs): this ()
		{
			VersionControlSystem = vcs;
		}
예제 #7
0
		protected UrlBasedRepository (VersionControlSystem vcs): base (vcs)
		{
		}
예제 #8
0
 public Repository(VersionControlSystem vcs) : this()
 {
     VersionControlSystem = vcs;
 }
예제 #9
0
 public virtual void CopyConfigurationFrom(Repository other)
 {
     name    = other.name;
     vcsName = other.vcsName;
     vcs     = other.vcs;
 }
예제 #10
0
 public MultipathOperationMetadata(VersionControlSystem versionControl) : base(versionControl)
 {
 }
예제 #11
0
 protected Repository(VersionControlSystem vcs) : this()
 {
     VersionControlSystem = vcs;
 }
예제 #12
0
 public RepositoryMetadata(VersionControlSystem versionControl)
 {
     Type    = versionControl?.Name;
     Version = versionControl?.Version;
 }
예제 #13
0
 protected UrlBasedRepository(VersionControlSystem vcs) : base(vcs)
 {
 }
예제 #14
0
		protected Repository (VersionControlSystem vcs): this ()
		{
			VersionControlSystem = vcs;
		}
예제 #15
0
 public UrlBasedRepository(VersionControlSystem vcs) : base(vcs)
 {
 }