Note that svn revert will only perform the undelete if your change
hasn't been committed to the repository. If it has been committed,
then you will need to use the "reverse merge" described in the book to
restore the item.
On 8/8/06, D Young <dyoung11@dtcc.edu> wrote:
>
> Greetings,
>
> You should use 'svn revert' to accomplish this. (It's in the book)
>
> By the way, I'm new to the list. So, hi. :)
>
>
> On Tue, 8 Aug 2006, Robert La Ferla wrote:
>
> > I looked at the FAQ but saw no mention of how to restore a deleted file (via
> > svn delete). I read in the Subversion book that this is accomplished using
> > "svn copy" to copy the file back into the working directory from the
> > repository or by using merge. It seems to me that there should be a simplier
> > interface for this like "svn restore" to restore files that were deleted. I
> > don't know if this has been discussed before but where can I submit a feature
> > request? The benefit of a "svn restore" is that the software could find the
> > last revision of the file automatically and is a bit more intuitive than "svn
> > copy" Also, I think undelete should be added to the FAQ especially when the
> > book says: "One of the most common questions new users ask is, ?How do I get
> > my old file or directory back??."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 8 18:47:04 2006