/// <summary> /// Updates the working copy specified in <paramref name="path"/> to the specified <paramref name="revision"/>. /// Acceptable values are: HEAD, BASE, COMMITTED & PREV a validly formatted date or numeric value. /// </summary> /// <param name="path">Working copy path to update.</param> /// <param name="revision">Keyword revision to which the working path will be updated.</param> public void Update(string path, string revision) { Update(path, RevisionFactory.Create(revision)); }
/// <summary> /// Updates the working copy specified in <paramref name="path"/> to the revision at the start of the specified <paramref name="date"/>. /// </summary> /// <param name="path">Working copy path to update.</param> /// <param name="revision">Numeric revision to which the working path will be updated.</param> public void Update(string path, DateTime date) { Update(path, RevisionFactory.Create(date)); }