/// <summary> /// This method is a faster than the property above. The property reads the config file /// every time it is accessed. This method accepts a configfile what makes it faster when loading /// the revisiongraph. /// </summary> public string GetMergeWith(ISettingsValueGetter configFile) { string merge = configFile.GetValue(_mergeSettingName); return(merge.StartsWith(RefsHeadsPrefix) ? merge.Substring(11) : merge); }
/// <summary> /// This method is a faster than the property above. The property reads the config file /// every time it is accessed. This method accepts a config file what makes it faster when loading /// the revision graph. /// </summary> public string GetTrackingRemote(ISettingsValueGetter configFile) { return configFile.GetValue(_remoteSettingName); }
/// <summary> /// This method is a faster than the property above. The property reads the config file /// every time it is accessed. This method accepts a config file what makes it faster when loading /// the revision graph. /// </summary> public string GetTrackingRemote(ISettingsValueGetter configFile) { return(configFile.GetValue(_remoteSettingName)); }
/// <summary> /// This method is a faster than the property above. The property reads the config file /// every time it is accessed. This method accepts a configfile what makes it faster when loading /// the revisiongraph. /// </summary> public string GetMergeWith(ISettingsValueGetter configFile) { string merge = configFile.GetValue(_mergeSettingName); return merge.StartsWith(RefsHeadsPrefix) ? merge.Substring(11) : merge; }