You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Charles E. Doucette" <cd...@med-learn.com> on 2003/08/25 15:32:56 UTC
commit doesn't update current revision in working directory - you must use update?
Why is it that when I use TortoiseSVN to do a commit (which changed the
repository version from 12 to 13),
and then I open up a command window in the same directory and type:
C:\Inetpub\wwwroot\CBAS\include>svn info
Revision: 12
Then I have to do an svn update to have it show/reflect the latest
repository version:
C:\Inetpub\wwwroot\CBAS\include>svn update
At revision 13.
Perhaps this is an unfair question since
a) I didn't use the command line tools for everything
b) TortoiseSVN doesn't have an info dialog/command.
For the record, I'm running Subversion 0.25 (client and server) and
TortoiseSVN 0.16.
Is this just because commit is pushing files from the working directory to
the repository only?
I thought if the commit succeeded, your working directory should then
reflect the repository
(or at least the repository would reflect your working directory); and if
not, you'd get errors
about merges failing.
Chuck
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: commit doesn't update current revision in working directory - you must use update?
Posted by Ben Collins-Sussman <su...@collab.net>.
"Charles E. Doucette" <cd...@med-learn.com> writes:
> Is this just because commit is pushing files from the working
> directory to the repository only? I thought if the commit
> succeeded, your working directory should then reflect the repository
> (or at least the repository would reflect your working directory);
> and if not, you'd get errors about merges failing.
No. Commits do not cause automatic updates. One operation is "push",
the other is "pull".
Read this part of the book:
http://svnbook.red-bean.com/html-chunk/ch02s03.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org