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

Re: How to import a local repository to a remote location?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2006-12-14 14:53:14 CET

On Thu, 2006-12-14 at 03:51, Martin Scharrer wrote:

> > Are there any tools out there that allow me to move the repository from
> > my local location to the remote location without having to access the
> > repository at the file level?
> I do not know about such a tool but it would not be so difficult to write one
> in Perl.
> Do you would like to preserve the exact date, author name and log message of
> the original commit?
> Log messages are no problem but the other two need access rights to change
> revision properties.which needs a present pre-revprop-change hook. For this
> you need again someone with file level access to the repository or you life
> with different author and date entries.
> But original author and date could also be added to the log message.
> Tell me what you exact need and I might code a little script just for fun.

The svn_load_dirs.pl tool might be a good starting point to catch
the file additions/moves between revs. You could pick up the
author and log info but I'm not sure how you'd follow branches
and tags to keep the ancestry. A tool that would parse the
svnadmin dump format and process it through client-level access
would be nice too.

  Les Mikesell
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 14 14:54:29 2006

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.