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

Re: Keep revision numbers while combining multiple repos

From: Talden <talden_at_gmail.com>
Date: 2007-07-01 09:22:43 CEST

There really isn't a practical way to do this.

any two revisions of the same number in two source repositories are highly
likely to have differing commit times, log messages and committing users.
Even if you munged the commit times and concatenated log messages you'd
still have to fake the committer.

What you might be able to do instead is to recognise all r# references in
log messages and replace them with the resultiing revision number. That
would remove all important internal references to revision numbers (such as
merged revisions). Of course any external content (issue trackers and
communiques) will not have been corrected.

On 6/19/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 6/18/07, Jason Tesser <jasontesser@gmail.com> wrote:
> > I have a bunch of different repos I am trying to combine into a single
> repo
> > using dump|load.  I can get it all to work fine except that I want to
> keep
> > the revision numbers, if possible, of all the repositories.
> >
> > I was thinking the comments could combine and shove like revision
> numbers
> > from different projects into one commit. Is there a way to combine dump
> > files or load a repository this way?
> No, not that I'm aware of with any of the available tools. Possibly,
> you can write your own dumpfile merger which does this.
> > Thanks,
> > Jason Tesser
> > dotmarketing, Lead Programmer
> > 1-305-858-1422
> bye,
> Erik.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 1 09:22:46 2007

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.