You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/07/15 17:52:10 UTC

Re: [PATCH] Issue #763 regression test

Scott Lamb <sl...@slamb.org> writes:
> The attached patch adds a regression test that succeeds with Justin's
> patch and fails without it. It will need to be modified slightly when
> the error message for this is added, but it at least verifies the
> state afterward isn't wrong.

Great, thank you!  This will save a lot of time.

Can you attach this to issue #763?

> This is my first regression test, not sure I understand how everything
> is supposed to work. Specifically, both the "repos_rev" and the
> "wc_rev" seem to be one more than I'd expect. When "svn up" says "At
> revision 1", they say 2. Why is that?

Hmm... Are you sure you're not running "svn up" *before* the commit?
Remember, the wc_rev and repos_rev below are what you expect to see
*after* the commit succeeds (and of course it would be 2, since in the
test suite, revision 1 is the vanilla greek tree).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Issue #763 regression test

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Scott Lamb <sl...@slamb.org> writes:
> Nope. Non-developers still can't change issues at all (even the ones I
> filed myself). (Could adding comments/filing new attachments be moved
> from the "change" permission to the "submit" permission? Or could a new
> "append" permission be added?)

Aaaaaaaaargh.

I've reached my maximum stack depth, I think, so I'll just attach this
myself :-).  Next time this happens, we'll remember to look into it
some more.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Issue #763 regression test

Posted by Scott Lamb <sl...@slamb.org>.
Karl Fogel wrote:
> Can you attach this to issue #763?

Nope. Non-developers still can't change issues at all (even the ones I
filed myself). (Could adding comments/filing new attachments be moved
from the "change" permission to the "submit" permission? Or could a new
"append" permission be added?)

>> This is my first regression test, not sure I understand how everything
>> is supposed to work. Specifically, both the "repos_rev" and the
>> "wc_rev" seem to be one more than I'd expect. When "svn up" says "At
>> revision 1", they say 2. Why is that?
>
> Hmm... Are you sure you're not running "svn up" *before* the commit?
> Remember, the wc_rev and repos_rev below are what you expect to see
> *after* the commit succeeds  (and of course it would be 2, since in the
> test suite, revision 1 is the vanilla greek tree).

Ahh...I had forgotten that revision 1 was the greek tree. And I was
comparing against a "svn up" in a repository I assumed would be the
same, rather than the one the test actually used.

-- 
Scott Lamb

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org