[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: Larry Martell <larry.martell_at_gmail.com>
Date: Thu, 17 Jan 2008 16:30:04 -0700

On Jan 17, 2008 3:46 PM, Errol Sayre <errol_at_research.olemiss.edu> wrote:
> 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.

When I need to do this I simply check out the head, then export the
revision of the file I want, then copy that file to my working copy of the head
and commit.

-larry

---------------------------------------------------------------------
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:30:28 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.