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

Re: Newb help moving to older revision of file

From: Jean-Claude Antonio <jcantonio_at_arcetis.com>
Date: Fri, 18 Jan 2008 00:54:40 +0100

Hi,

You can use svn merge -r your_actual_revision:your_desired_revision
filemane
example:
svn merge -r189:182 readme.txt
then commit.

The update will not allow you to commit...

*Jean-Claude Antonio*
Responsable Méthodes/Outils

Arcetis

Tél: +33 (0)6 09 13 15 63 - Fax: +33 (0)9 59 18 24 38
Mél: jcantonio_at_arcetis.com

www.arcetis.com
forum francophone Subversion et moteur de recherche pour Subversion
www.voilasvn.com

Errol Sayre a écrit :
> I'm trying to figure out how I can restore an older copy of a single
> file in my working copy and then commit that back to the branch I'm
> working on.
>
> From the SVN book I gather that I'm supposed to use svn merge but I'm
> just not getting it.
>
> I've "updated" my file to the older revision and can see that it's the
> revision I want, and can make changes to it. However, when I check the
> status of my working copy svn tells me there is a newer version of the
> file on the repository...
>
> How do I make this old version commit with my project as a new revision?
>
> After a few months of using SVN this is the first time I've had to do
> this and I'm totally in the dark about this process that seems more
> than a little opaque.
>
> Thanks for the help.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-18 00:54:57 CET

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.