Example #1
0
        private ITfsChangeset BuildTfsChangeset(ScriptedChangeset changeset, IGitTfsRemote remote)
        {
            var tfsChangeset = _container.With <ITfsHelper>(this).With <IChangeset>(new Changeset(_versionControlServer, changeset)).GetInstance <TfsChangeset>();

            tfsChangeset.Summary = new TfsChangesetInfo {
                ChangesetId = changeset.Id, Remote = remote
            };
            return(tfsChangeset);
        }
Example #2
0
 public Changeset(IVersionControlServer versionControlServer, ScriptedChangeset changeset)
 {
     _versionControlServer = versionControlServer;
     _changeset = changeset;
 }
Example #3
0
 public Change(IVersionControlServer versionControlServer, ScriptedChangeset changeset, ScriptedChange change)
 {
     _versionControlServer = versionControlServer;
     _changeset = changeset;
     _change = change;
 }
Example #4
0
 private ITfsChangeset BuildTfsChangeset(ScriptedChangeset changeset, IGitTfsRemote remote)
 {
     var tfsChangeset = _container.With<ITfsHelper>(this).With<IChangeset>(new Changeset(_versionControlServer, changeset)).GetInstance<TfsChangeset>();
     tfsChangeset.Summary = new TfsChangesetInfo { ChangesetId = changeset.Id, Remote = remote };
     return tfsChangeset;
 }
Example #5
0
 public Changeset(ScriptedChangeset changeset)
 {
     _changeset = changeset;
 }
Example #6
0
 public Change(ScriptedChangeset changeset, ScriptedChange change)
 {
     _changeset = changeset;
     _change = change;
 }
Example #7
0
 public Change(IVersionControlServer versionControlServer, ScriptedChangeset changeset, ScriptedChange change)
 {
     _versionControlServer = versionControlServer;
     _changeset            = changeset;
     _change = change;
 }
Example #8
0
 public Changeset(IVersionControlServer versionControlServer, ScriptedChangeset changeset)
 {
     _versionControlServer = versionControlServer;
     _changeset            = changeset;
 }
Example #9
0
 public Changeset(ScriptedChangeset changeset)
 {
     _changeset = changeset;
 }
Example #10
0
 public Change(ScriptedChangeset changeset, ScriptedChange change)
 {
     _changeset = changeset;
     _change    = change;
 }
Example #11
0
 public FakeChangesetBuilder Changeset(int changesetId, string message, DateTime checkinDate)
 {
     var changeset =new ScriptedChangeset
     {
         Id = changesetId,
         Comment = message,
         CheckinDate = checkinDate
     };
     _script.Changesets.Add(changeset);
     return new FakeChangesetBuilder(changeset);
 }
Example #12
0
 public FakeChangesetBuilder(ScriptedChangeset changeset)
 {
     _changeset = changeset;
 }