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

Re: How to get info on a deleted file?

From: <kfogel_at_collab.net>
Date: 2003-08-15 16:50:30 CEST

"Wadsworth, Eric (Contractor)" <wadswore@fhu.disa.mil> writes:
> Someone may have answered this already, but I just answered a co-workers
> question on this very topic. Here is what I told her:

Thanks for forwarding, Eric. In the future, this kind of post should
probably go to users@subversion.tigris.org (no big deal, just letting
you know for next time).

I've CC'd both 'dev' and 'users' on this mail, but followups on the
original thread should go only to 'users' of course.

-Karl

> Karen,
>
> In response to your question, I've figured out how to inspect a single
> file that has been deleted in subversion.
>
> d:
> cd \tget\documentation
> svn log help --verbose
> [verbose listing of files is displayed, including the deleted one]
> svn cat
> http://tgetsun/svn/repos/tget_3.0.1/trunk/documentation/help/tget_help.c
> ss -r219 > help\tget_help.css
>
> That revision number, 219, was learned by reading the output of the log
> command. This command will recreate the text file. If it were a binary
> file, it would be better to check out a new working copy of just this
> section somewhere, of the specific version we want (219):
>
> d:
> cd \
> svn co http://tgetsun/svn/repos/tget_3.0.1/trunk/documentation/help
> -r219 \tget_help_r219
>
> That would bring everything back in that directory, as of version 219.
>
>
> > Greetings,
> >
> > If I'm interested in viewing and/or restoring a file that I've deleted
> > from my repository, how do I get it back? I realize that I
> > can grab it
> > by revision number or date if I have that information, but what if I
> > don't? Is there any way to determine the last revision in which a
> > deleted file appeared?
> >
> > What I expected to be able to do was a 'svn log deletedfile'
> > and/or 'svn
> > status deletedfile' but neither of these seem to work. Doesn't that
> > sort of thing work in CVS? Isn't SVN supposed to do at least
> > everything
> > that CVS can do? This missing functionality seems like a flaw in SVN.
> > Or is there a "better" way I don't know about?
> >
> > TIA for any help.
> >
> > Steve Johnson
> > DigitalFish Films
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 15 17:35:15 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.