-- Replying to list
On Thu, 10 Jun 2004 23:47:58 +1000, "Jonathan Wheelhouse"
<wheelhouse@pacific.net.au> said:
> Francois Beausoleil <fbos@users.sourceforge.net>:
> >
> > On Thu, 10 Jun 2004 23:19:24 +1000, "Jonathan Wheelhouse"
> > <wheelhouse@pacific.net.au> said:
> > > "Leeuw van der, Tim" <tim.leeuwvander@nl.unisys.com> writes:
> > >
> > > > Or 'svn revert' followed by 'svn update'?
> > >
> > > I've not mentioned 'svn revert' in my previous post to Ben but it
> > > doesn't leave the working copy looking _exactly_ like the repository.
> >
> > What does "exactly" mean to you ? Sames files, same content, same last
> > access time, same last modified time ?
>
> Yes. What the working copy should look like is what you would get if
> you 'rm -rf dir; svn co URL dir'. This means that there should be no
> modified files or added files etc in the working copy.
>
> See, my whole point was to get a quicker checkout; I thought that if
> the majority of files hadn't changed between the URL and the working
> copy then some combination of svn commands would let me achieve the
> same result as 'rm -rf dir; svn co URL dir' but without transmitting
> all the files that are the same _and_ it would remove any added files
> and overwrite any changed files.
>
> However, I haven't found a set of svn commands that will do that.
>
> Not to worry; I really like subversion (we're beginning to use it at
> work) and maybe it's time to split this large project into smaller
> ones so that checkout doesn't take a long time.
>
> Jonathan
In that case, svn revert is the command to use, followed by a
svn status | grep -e "^?" | xargs rm
Subversion will *never* delete unmodified files, because the project's
philosophy is to never lose a user's work.
Hope that helps.
Bye !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 10 18:16:54 2004