JC Hearn wrote:
> 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.
>
svn cp -r (revision before delete) (url)/file (url)/file
Received on Wed Feb 16 17:16:31 2005