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

Re: Backing out changes: the prefered method?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-31 23:09:07 CET

"Geisser, Oliver" <O.Geisser@CEYONIQ.COM> writes:

> I understand the problem of "working copy version relates to
> revision on server". That's not the problem to me.
>
> What I do not understand: Why should I think in terms of "diffs" ?
> This seems a little bit strange to me. I just want that the content
> of foo.c from revision 5 replaces the content of foo.c in my working
> copy.
>
> If I have access to the content of foo.c (from revision 5) I can
> replace it locally. So a crazy idea would be:
>
> rm foo.c
> wget -O foo.c <url to foo.c in revision 5>

Sure, this is the same as

        svn diff -r 6:5 foo.c | patch

    or
 
        svn merge -r 6:5 foo.c

>
> Because this seems crazy I would prefer a simple svn command.

Are the two examples above simple-enough svn commands?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:01 2006

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

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