Commits


trim trailing whitespace in revert.sh (patch by Tracey Emery)


make 'got revert' to ignore unversioned files instead of aborting with 'bad path' and add a regress to check the revert isn't aborted anymore


fix race condition in test_revert_patch_one_change


fix bug where 'revert -p' would delete all lines following a reverted change


test reverting the first hunk only with revert -p


implement 'revert -p'


implement got revert -R


implement revert with a status walk to prepare for 'revert -p'


fix 'got revert' on files in newly added subdirectories


allow multiple file path arguments for 'got revert'


test and fix 'got revert' with a path in a sub-directory Relax input path requirements of got_object_id_by_path() to make things easier to callers. Allows the revert code to pass a path from the file index in lieu of a repository path.


use cmp -s, instead of cmp, in all command line tests


add initial implementation of 'got revert'