# # add_file "tests/t_diff_currev.at" # # patch "ChangeLog" # from [c0b186b86819807a6e0da97157fe6cf471fa3d27] # to [22a31de618ba4ac5b798cd02b4af8c5bd6670525] # # patch "tests/t_diff_currev.at" # from [] # to [4cca1993f1a869c2a0ecf0d7e075fafb541e8f9c] # # patch "testsuite.at" # from [24d7159f4abea9ab26794f48237ae19d14a397c4] # to [0a34149b217e99d5ddba31187e930362ae138daa] # --- ChangeLog +++ ChangeLog @@ -1,3 +1,8 @@ +2005-04-23 Matthew Gregan
+ + * tests/t_diff_currev.at: New test. + * testsuite.at: Add new test. + 2005-04-22 Jon Bright * monotone.texi: Changed all quoting of example command lines to use " instead of ', since this works everywhere, but ' doesn't --- tests/t_diff_currev.at +++ tests/t_diff_currev.at @@ -0,0 +1,27 @@ +# -*- Autoconf -*- + +AT_SETUP([diffing with explicit rev same as wc rev]) + +AT_XFAIL_IF(true) + +MONOTONE_SETUP + +AT_DATA(foo1, [foo file 1 +]) + +AT_CHECK(MONOTONE add foo1, [], [ignore], [ignore]) +AT_CHECK(MONOTONE --branch=testbranch commit --message blah, [], [ignore], [ignore]) +parent=`BASE_REVISION` + +# should return 'no changes' (i.e. same as diff without --revision=