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

Re: after checked out an old revision...

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 12 Nov 2008 23:37:30 -0600

On Nov 12, 2008, at 17:55, Steven Woody wrote:

> the head is 100, and i checked out an old revision, say 95, and
> finished many changes on the working copy. now, if i want to commit my
> working copy as revision 101 and do not take care anything from r95 to
> r100, what should i do?
>
> thanks in advance.

You're a bit backwards... Ideally you would *first* undo the changes
from 100 to 95, by doing a reverse merge:

svn merge -r 100:95 url://to/repo/path/to/something .

Then commit that:

svn commit -m "Undoing revisions 96 through 100 because _______"

Then make your new changes. Then commit those.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-13 06:38:16 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.