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

How to restore files to current version

From: JC Hearn <jchearn_at_medicalnetsystems.com>
Date: 2005-02-16 11:09:15 CET

I have a question about how to recover deleted files into the current
version.

Let's say someone accidentally deletes one or more files in a directory
and commits their change. Being able to access the files is (of course)
no problem--simply do svn update -r x to get back to a version that
still included the files.

My question is: is there an elegant way to put the missing files into a
new version?

I am sure you can futz around with updating to a prior version, copying
the files elsewhere, updating to the current version, copy file files
back in, svn add them, and then commit. I was just wondering if there
was a way to do all of that in fewer steps.

Regards.

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