Summary
Restore individual files or directories to an earlier state.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Containing Type
- Repository
Syntax
public void Revert(string name, RevertCommand command = null)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the file or directory to revert. |
command | RevertCommand |
Any extra options to the revert method, or null for default options.
|
Return Value
Type | Description |
---|---|
void |