22fc8f91c0
instead of 'long' to match what is done in the tfs api
24 lines
652 B
C#
24 lines
652 B
C#
using System.ComponentModel;
|
|
using System.IO;
|
|
using Sep.Git.Tfs.Core;
|
|
using StructureMap;
|
|
|
|
namespace Sep.Git.Tfs.Commands
|
|
{
|
|
[Pluggable("checkin")]
|
|
[Description("checkin [options] [ref-to-shelve]")]
|
|
[RequiresValidGitRepository]
|
|
public class Checkin : CheckinBase
|
|
{
|
|
public Checkin(TextWriter stdout, CheckinOptions checkinOptions, TfsWriter writer)
|
|
: base(stdout, checkinOptions, writer)
|
|
{
|
|
}
|
|
|
|
protected override int DoCheckin(TfsChangesetInfo changeset, string refToCheckin)
|
|
{
|
|
return changeset.Remote.Checkin(refToCheckin, changeset, _checkinOptions);
|
|
}
|
|
}
|
|
}
|