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

RE: AW: How to find out the rev number where a file was deleted?

From: Ludwig, Michael <Michael.Ludwig_at_delphi-mb.de>
Date: Mon, 29 Nov 2010 11:23:03 +0100

> -----Original Message-----
> From: Les Mikesell
> On 11/28/10 12:28 AM, Andrey Repin wrote:

> > 4. Quite (un)surprisingly, my intent is to actually find revision,
> > in which the destruction was made. Because, quite (un)surprisingly,
> > I don't know that.
>
> I'd like to be able to see the future too - but unfortunately, neither
> subversion nor I can do that.

From the user's perspective, it's most definitely not the future he's
asking Subversion to show, but the past.

Thanks for this interesting discussion. I often wondered whether what
Andrey is asking was possible and whether there was anything better than
my tentative poking at moreless random peg revs in the repo to find the
moment a file disappeared, or came into being.

Binary search on the 0 to HEAD revision range is a possibility, but it's
also a rather wasteful workaround.

What's really needed, I think, is an index on the URL maintained by the
server that points to the revision ranges where the node existed. That
would allow me to do a lookup on any given URL and quickly see whether
it has ever existed, and when precisely; or not at all.

Due to copying for branches and tags, there will be an explosion of repo
URLs. But maybe there is a way to mitigate this.

I can see what Andrey is asking for is currently not supported; okay,
I'm sure it'll be there in the future. Thanks again for this very good
discussion, which clarifies the situation for me.

Michael
Received on 2010-11-29 11:23:43 CET

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.