C# 클래스 SourceControl.SubversionInterface

The Subversion Source Control interface.
상속: ISourceControl, ILogControl
파일 보기 프로젝트 열기: daptiv/Malevich

공개 메소드들

메소드 설명
Connect ( ) : bool

Connects to Subversion. Does nothing, really.

Disconnect ( ) : void

Disconnects from Subversion. Does nothing, really.

GetChange ( string changeId, bool includeBranchedFiles ) : Change

Gets the change from the repository Returns null if any error occurs, or the change is not pending.

GetFile ( string name, int revision, System.DateTime &timeStamp ) : string

Reads a file from the source control system.

GetInstance ( string clientExe, string url, string client ) : ISourceControl

Factory for the Subversion instances.

GetLocalRootDirectory ( ) : string

Gets the root directory of the repository, derived from the current directory and svn info

GetLocalRootDirectory ( string url ) : string

Gets the root directory of the repository, given the SVN URL, SVN Repository Root, and the current directory

GetSettings ( ) : SourceControlSettings

Gets the client settings.

SetLogLevel ( LogOptions level ) : void

Controls the log output. Implemented here primarily to allow dumping the IO from the client utility.

비공개 메소드들

메소드 설명
FillInFileData ( Change change ) : void

Iterates through every file in the change list, and: 1. fills in its local path and 2. diff if it is an edit, or the add file itself if it is an add.

GetRevisionFromFile ( string filename, string &serverFilename ) : int

Gets the current revision of a file.

RunClient ( string commandLine, bool eatFirstLine ) : string
SubversionInterface ( string clientExe, string url, string client ) : System

Trivial constructor.

메소드 상세

Connect() 공개 메소드

Connects to Subversion. Does nothing, really.
public Connect ( ) : bool
리턴 bool

Disconnect() 공개 메소드

Disconnects from Subversion. Does nothing, really.
public Disconnect ( ) : void
리턴 void

GetChange() 공개 메소드

Gets the change from the repository Returns null if any error occurs, or the change is not pending.
public GetChange ( string changeId, bool includeBranchedFiles ) : Change
changeId string shelveset identifier.
includeBranchedFiles bool Include full text for branched and integrated files.
리턴 Change

GetFile() 공개 메소드

Reads a file from the source control system.
public GetFile ( string name, int revision, System.DateTime &timeStamp ) : string
name string
revision int The revision of the file to get.
timeStamp System.DateTime
리턴 string

GetInstance() 공개 정적인 메소드

Factory for the Subversion instances.
public static GetInstance ( string clientExe, string url, string client ) : ISourceControl
clientExe string
url string
client string
리턴 ISourceControl

GetLocalRootDirectory() 공개 메소드

Gets the root directory of the repository, derived from the current directory and svn info
public GetLocalRootDirectory ( ) : string
리턴 string

GetLocalRootDirectory() 공개 정적인 메소드

Gets the root directory of the repository, given the SVN URL, SVN Repository Root, and the current directory
public static GetLocalRootDirectory ( string url ) : string
url string
리턴 string

GetSettings() 공개 정적인 메소드

Gets the client settings.
public static GetSettings ( ) : SourceControlSettings
리턴 SourceControlSettings

SetLogLevel() 공개 메소드

Controls the log output. Implemented here primarily to allow dumping the IO from the client utility.
public SetLogLevel ( LogOptions level ) : void
level LogOptions The level of logging.
리턴 void