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

Re: Import of working copy...

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-02-02 03:25:54 CET

On Tue, 2005-01-02 at 14:11 +0100, Arno Bakker wrote:
> someone did an "svn import" of a working copy of a branch. How do we
> recover from this? A "svn status -u" with an existing working copy
> just shows a couple of new files, but doesn't complain. Is it save
> to continue working on this branch by doing a "svn update", remove
> the new files and commiting again?

To revert a change that was committed in revision 100 you do this.

svn merge -r100:99 /branch/path/

Inspect to make sure there were not conflicts and it really did apply
the reverse patch.

svn commit

HTH's
Chris

-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
21:18:04 up 8:08, 2 users, load average: 0.48, 0.34, 0.21 
http://www.fsf.org/philosophy/no-word-attachments.html

Received on Wed Feb 2 03:34:30 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.