Mercurial.Client by Luigi Grilli,Levi Bard

<PackageReference Include="Mercurial.Client" Version="1.0.1.47" />

.NET API 32,256 bytes



Legend

  •  Assembly
  •  Namespace
  •  Class
  •  Interface or Abstract Class
  •  Static Class
  •  Struct
  •  Enum
  •  Delegate
  •  Grayed out == non-public

 CommandClient

public class CommandClient : IDisposable
public IEnumerable<string> Capabilities { get; }

public IDictionary<string, string> Configuration { get; }

public string Encoding { get; }

public string Root { get; }

public string Version { get; }

public CommandClient(string path, string encoding = null, IDictionary<string, string> configs = null, string mercurialPath = null)

public static void Clone(string source, string destination, bool updateWorkingCopy = true, string updateToRevision = null, string cloneToRevision = null, string onlyCloneBranch = null, bool forcePullProtocol = false, bool compressData = true, string mercurialPath = null)

public static void Initialize(string destination, string mercurialPath)

public static FileStatus ParseStatus(string input)

public void Add(string[] fileparams)

public void Add(IEnumerable<string> files, string includePattern = null, string excludePattern = null, bool recurseSubRepositories = false, bool dryRun = false)

public string Annotate(string revision, string[] fileParams)

public string Annotate(string revision, IEnumerable<string> files, bool followCopies = true, bool annotateBinaries = false, bool showAuthor = true, bool showFilename = false, bool showDate = false, bool showRevision = true, bool showChangeset = false, bool showLine = false, bool shortDate = false, string includePattern = null, string excludePattern = null)

public void Archive(string destination, string revision = null, string prefix = null, ArchiveType type = 0, bool decode = true, bool recurseSubRepositories = false, string includePattern = null, string excludePattern = null)

public IDictionary<string, string> Cat(string revision, string[] fileParams)

public IDictionary<string, string> Cat(string revision, IEnumerable<string> files, string format = null, bool decode = false, string includePattern = null, string excludePattern = null)

public void Commit(string message, string[] fileparams)

public void Commit(string message, IEnumerable<string> files, bool addAndRemoveUnknowns = false, bool closeBranch = false, string includePattern = null, string excludePattern = null, string messageLog = null, DateTime? date = default, string user = null)

public string Diff(string revision, string[] fileParams)

public string Diff(string revision, IEnumerable<string> files, string changeset = null, bool diffBinaries = false, bool useGitFormat = false, bool showDates = true, bool showFunctionNames = false, bool reverse = false, bool ignoreWhitespace = false, bool ignoreWhitespaceOnlyChanges = false, bool ignoreBlankLines = false, int contextLines = 0, string includePattern = null, string excludePattern = null, bool recurseSubRepositories = false)

public void Dispose()

public string Export(string[] revisionParams)

public string Export(IEnumerable<string> revisions, string outputFile = null, bool switchParent = false, bool diffBinaries = false, bool useGitFormat = false, bool showDates = true)

public void Forget(string[] fileParams)

public void Forget(IEnumerable<string> files, string includePattern = null, string excludePattern = null)

public CommandResult GetCommandOutput(IList<string> command, IDictionary<CommandChannel, Func<uint, byte[]>> inputs = null)

public IEnumerable<Revision> Heads(string[] revisionParams)

public IEnumerable<Revision> Heads(IEnumerable<string> revisions, string startRevision = null, bool onlyTopologicalHeads = false, bool showClosed = false)

public IList<Revision> Incoming(string source = null, string toRevision = null, bool force = false, bool showNewestFirst = false, string bundleFile = null, string branch = null, int limit = 0, bool showMerges = true, bool recurseSubRepos = false)

public IList<Revision> Log(string revisionRange, string[] fileparams)

public IList<Revision> Log(string revisionRange, IEnumerable<string> files, bool followAcrossCopy = false, bool followFirstMergeParent = false, DateTime? fromDate = default, DateTime? toDate = default, bool showCopiedFiles = false, string searchText = null, bool showRemoves = false, bool onlyMerges = false, bool excludeMerges = false, string user = null, string branch = null, string pruneRevisions = null, int limit = 0, string includePattern = null, string excludePattern = null)

public bool Merge(string revision, bool force = false, string mergeTool = null, bool dryRun = false)

public IList<Revision> Outgoing(string source, string toRevision, bool force = false, bool showNewestFirst = false, string branch = null, int limit = 0, bool showMerges = true, bool recurseSubRepos = false)

public IEnumerable<Revision> Parents(string file = null, string revision = null)

public IDictionary<string, string> Paths(string name = null)

public bool Pull(string source, string toRevision = null, bool update = false, bool force = false, string branch = null)

public bool Push(string destination, string toRevision = null, bool force = false, string branch = null, bool allowNewBranch = false)

public void Remove(string[] fileParams)

public void Remove(IEnumerable<string> files, bool after = false, bool force = false, string includePattern = null, string excludePattern = null)

public void Rename(string oldFileName, string newFileName, bool force = false, string includePattern = null, string excludePattern = null, bool dryRun = false)

public IDictionary<string, bool> Resolve(IEnumerable<string> files, bool all = false, bool list = false, bool mark = false, bool unmark = false, string mergeTool = null, string includePattern = null, string excludePattern = null)

public void Revert(string revision, string[] fileParams)

public void Revert(string revision, IEnumerable<string> files, DateTime? date = default, bool saveBackups = true, string includePattern = null, string excludePattern = null, bool dryRun = false)

public bool Rollback(bool force = false)

public int RunCommand(IList<string> command, IDictionary<CommandChannel, Stream> outputs, IDictionary<CommandChannel, Func<uint, byte[]>> inputs)

public IDictionary<string, FileStatus> Status(string[] fileparams)

public IDictionary<string, FileStatus> Status(IEnumerable<string> files, bool quiet = false, FileStatus onlyFilesWithThisStatus = 0, bool showCopiedSources = false, string fromRevision = null, string onlyRevision = null, string includePattern = null, string excludePattern = null, bool recurseSubRepositories = false)

public string Summary(bool remote)

public bool Update(string revision, bool discardUncommittedChanges = false, bool updateAcrossBranches = false, DateTime? toDate = default)