diff options
author | Steve McIntyre <steve@einval.com> | 2018-05-31 11:36:38 +0100 |
---|---|---|
committer | Steve McIntyre <steve@einval.com> | 2018-05-31 11:36:38 +0100 |
commit | efc00108d1057ca715beea03271cfe9ebb55c22e (patch) | |
tree | d4888a4a16186dfe062751bee13c44a38b55273c /vcs-test.pl | |
parent | 9ad73da75f60b351ba43e8be99363e58ce624367 (diff) |
Add get_newest_revision() and test harness code for it
Diffstat (limited to 'vcs-test.pl')
-rwxr-xr-x | vcs-test.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcs-test.pl b/vcs-test.pl index 4665f3f3370..29bdca8fc93 100755 --- a/vcs-test.pl +++ b/vcs-test.pl @@ -311,6 +311,12 @@ print "Got \"$ret\"\n"; ########################################################## print "#############################\n"; +print "VCS->get_newest_revision on $file :::\n"; +$ret = $VCS->get_newest_revision($file); +print "Got \"$ret\"\n"; + +########################################################## +print "#############################\n"; print "VCS->next_revision (-1) on $file :::\n"; $ret = $VCS->next_revision($file, $rev1, -1); print "Got \"$ret\", expecting \"$rev2\"\n"; |