[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn update problem

From: \\François\\ Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-05-27 15:09:50 CEST

Dmitry, please keep all replies on-list.

Dmitry Lumpov said the following on 2005-05-26 17:09:
> Hi, François
>
> yes, revert is good, but I want to have the same function as in VSS
> (Getlatestversion), meaning, that svn should explore my working directory, find
> changed files(diff), and update changed files to the version from repository.

I'm sorry, but I don't have any experience with VSS. From what I read
here, this is exactly what "svn update" does.

> 'svn revert' is not good for that, since it works with local copies, and I need
> explicitly state which files I want to revert. This is not convenient for ex.
> if I have lots of files and directories.

svn revert undoes any changes you made to your working copy files,
without going to the network.

> from the other side to make svn update work I can remove the file I want, and
> then it will be downloaded from the repository. This is not convenient too,
> because again I need to state what I want to update explicitly.

svn update without a path will update recursively from the current
directory all the way down.

> I understood, that 'svn update' command should work as 'svn status' command,
> but the only difference is that it should actually copy all the changed files
> from the repository to working copy to restore particular subversion.

Wrong. svn status tells you status information about the files in your
working copy. svn update requests the latest changes from the server.
Very different operations.

> What do you think? May be you can tell me how to do GetlatestVersion in svn?

I think you should show us a transcript of what you believe is wrong,
and tell us what you expected. Then, we'll know what to tell you.

Bye,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 27 15:19:22 2005

This is an archived mail posted to the Subversion Users mailing list.