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

Re: That old COPY/DELETE issue

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-03-07 18:24:58 CET

Garret Wilson <garret@globalmentor.com> writes:

> 1. I realize there's a bug in the new
> com/company/generic/BuildingBlock.java , but I can't revert to a
> previous version, because that file has no previous version.

Why can't you revert to a previous version of the file?

1. Run 'svn log' on the file, which *does* follow history back through
   the copy. Locate the (oldrev, oldpath) of the original file that
   you want to revert to.

2. svn merge newURL@HEAD oldURL@oldREV BuildingBlock.java

   This makes your working copy look exactly like the old version of
   BuildingBlock.java located at (oldrev, oldpath).

3. svn commit

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 7 16:26:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.