I have hit the same problem with another approach yesterday. Basically I
have a script that does a commit, and uses svn info afterwards to retrieve
the revision number. While svn commit says "Commited revision 8", svn info
still says revision 7. You have to svn up to get your directory at
revision 8. And obvisouly nothing happens file wise .. it just says "at
revision 8" once you run svn up.
I talked about this in #svn, while there are internal/implementation
reasons things are that way, I'm really starting to think that the svn up
operation should occur implicitely after svn commit is executed or
something.
TTimo
On Sun, 24 Nov 2002 14:43:58 +0100
andreas.koenig@anima.de (Andreas J. Koenig) wrote:
> Consider the following sequence of commands. The repository is empty
> when we start:
>
> svn co http://..../svn/foo
> svn add bar bar/memo plan.txt
> svn commit -m 'Initial Checkin'
> svn propset svn:ignore "RCS" .
> svn commit -m 'Setting svn:ignore on RCS'
>
> The last command gives this error:
>
> subversion/libsvn_client/commit.c:655: (apr_err=155011, src_err=0)
> svn: Working copy is not up-to-date
> svn: Commit failed (details follow):
> subversion/libsvn_client/commit.c:871: (apr_err=155011, src_err=0)
> svn: Cannot commit propchanges for directory '/home/k/dproj/koeln/kurs/2002-11/private'
>
> I have to run
>
> svn up
>
> first, then I'm able to commit. Is this a bug or is what I'm doing not
> correct?
>
> I'm running with svn@3874.
>
> --
> andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 24 14:52:54 2002