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

Re: how to make a previous repository version the actual one?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-02 15:52:18 CET

On Feb 2, 2005, at 8:24 AM, Pim Bliek wrote:

> Ehm, I am quite newbie too, but as far as I am aware:
>
> svn up -r XX should do what you want, if I understand your willings.
>

'svn up -rX' only temporarily backdates your working copy. If you try
to commit after doing that, nothing will happen. 'svn commit' only
commits edited files, and 'svn up -rX' does create any edits. The
files will be *old*, but they won't be considered edited.

What you want to do is apply a patch to the working copy so that the
result "looks" like the old revision. After applying the patch, the
working copy will have many edited files, and then 'svn commit' will
work.

Read about using 'svn merge' to remove changes in chapter 4. There's a
whole section on it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 2 15:54:59 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.