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

Re: Idea: "Show Log" History from Child->Parent Repository

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Fri, 11 Feb 2011 08:50:37 +0100

On Friday 11 February 2011, Tony Duckles wrote:
> Background: We have a large internal enterprise SVN repo (~300GB on disk,
> ~450,000 revisions) and we're worried about it becoming too large to
> manage/support. So, we're planning to cut over to a new repo (i.e. freeze
> the old repo, do an export from trunk in the old repo, import into trunk in
> the new repo, and have developers migrate to use the new repo going
> forward)

Why not use dumpfilter to split up the old repository? That way you would have
a seamless history, with the exception of cross-project changes, and your
question below would resolve in a cloud of orange smoke. ;)

> sometime over the next year and we've been thinking about ways to
> make it dead-easy for our developers to access the history in the old repo.
> Using the Repo Browser to manually navigate to the old repo URL and using
> Show Log from there seems to be the best current solution, but I'm
> wondering if TortoiseSVN couldn't be extended to do something more
> transparent...

That would rather be a core SVN issue than something for TSVN.

> Would it at all be possible to extend/leverage TortoiseSVN's "Show Log"
> functionality such that: when you're viewing the history of /trunk in the
> "new" repo and once you hit the end of the revision-history in the current
> repo that Tortoise could somehow transparently follow a pointer to a
> "parent" repository URL and start seamlessly displaying the history of that
> URL in that "parent" repository? In other words, once we fall off the
> "end" (i.e. revision 0) of http://repo2/trunk we'd seemlessly start
> displaying the history of http://repo1/trunk@HEAD. Maybe something like
> setting a "svn:parent-url" property on http://repo2/trunk on the revision
> that first creates /trunk in the new repo. This way, when Tortoise is
> looping over the SVN history and it finds a revision with this "parent-url"
> property set with a non-null value, then that's the sign to stop reporting
> history in the current repo/URL and jump over to the parent-url and start
> reporting history from there.

Yes, I'd say this is possible. I would go even further and say that that's a
feature that could be used in different contexts, too. If you branch from
upstream ('vendor branch'), you could start off with a certain version inside
their repository which you use as base for your branch.

Still, this is a topic for the SVN mailinglist rather than this one.

Good luck!

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.dominolaser.com/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2703394
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-11 08:49:14 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.