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

Re: is there any command act like `cvs update -C'

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-04-06 10:10:21 CEST

On Tuesday 05 April 2005 12:47, Li Daobing wrote:
> Andrew Thompson wrote:
> > Steve Greenland wrote:
> >> On Tue, Apr 05, 2005 at 10:46:39AM -0400, Andrew Thompson wrote:
> >>> Gary Thomas wrote:
> >>>> svn revert
> >>>
> >>> Revert only undoes your changes(which might be enough).
> >>
> >> Which is usually what you want. If I had wanted it to be updated,
> >> I'd have said 'svn revert foo.c && svn update foo.c'.
> >
> > I figured most of you probably knew that already. I wanted the caveat
> > to be attached to the answer for posterity.
> >
> > I'm not familiar with CVS development, so I don't know what was
> > intended by the command: cvs update -C
>
> svn revert do *not* support
> svn revert *

What are you talking about? 'svn revert *' work just fine. It's the
*shell* that expands the wildcard character, not us. So if something is
broken in that regard, take a look at the shell.

The truth is, what you don't like is probably the non-recursive behavior
by default. We did that on purpose to avoid having people wipe their
changes out unintentionally.

All you need to do to get base to the base revisions of your files is run
'svn revert -R .' at the top of your working copy.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 6 20:37:39 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.