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

RE: RE: How to identify revision where a file was deleted?

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Thu, 22 May 2008 15:21:30 -0500

> -----Original Message-----
> From: Reedick, Andrew
> Sent: Thursday, May 22, 2008 4:13 PM
> To: Kylo Ginsberg; users_at_subversion.tigris.org
> Subject: RE: How to identify revision where a file was deleted?
> > -----Original Message-----
> > From: Kylo Ginsberg [mailto:kylo.ginsberg_at_gmail.com]
> > Sent: Thursday, May 22, 2008 11:09 AM
> > To: users_at_subversion.tigris.org
> > Subject: How to identify revision where a file was deleted?
> >
> > If I know a file existed at some revision in the past, R, and know
> > was subsequently deleted, what is the best practice for identifying
> > the revision in which it was deleted?
> >
> > I'm aware that I can run "svn log -r<R>:HEAD" on a directory above
> the
> > level of the deleted file and parse the log output to answer the
> > question. But this is a bit cumbersome. Is there another way?
> >
> Peg revisions. If you know the file existed in Rev 1234, then:
> svn log --limit 1 -r HEAD:1234 svn://server/repos/a/b/c/foo.java_at_1234
> This worked for me in 1.4.5.

I used the wrong filename for my test. It doesn't work. Sorry for the
spreading of false hope and the corresponding spurious spike in the
world happiness coefficient. =/


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-22 22:22:18 CEST

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.