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

Re: svn commit: rev 6804 - tags/0.26/tools/cvs2svn

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-08-20 16:18:58 CEST

This commit modified a tag!

Max.

mbk@tigris.org wrote:
> Author: mbk
> Date: Wed Aug 20 08:40:48 2003
> New Revision: 6804
>
> Modified:
> tags/0.26/tools/cvs2svn/cvs2svn.py
> Log:
> Remove the artificial UUID record from cvs2svn's generated dumpfile, since
> the record is not required by the file format.
>
> * tools/cvs2svn/cvs2svn.py
> (Dumper.__init__): Do not generate an artificial UUID record.
> (pass5): Do not pass "--ignore-uuid" to "svnadmin load".
>
>
> Modified: tags/0.26/tools/cvs2svn/cvs2svn.py
>
============================================================================
==
> --- tags/0.26/tools/cvs2svn/cvs2svn.py (original)
> +++ tags/0.26/tools/cvs2svn/cvs2svn.py Wed Aug 20 08:40:48 2003
> @@ -848,12 +848,7 @@
>
> # Initialize the dumpfile with the standard headers:
> #
> - # The CVS repository doesn't have a UUID, and the Subversion
> - # repository will be created with one anyway. So when we load
> - # the dumpfile, we'll tell svnadmin to ignore the UUID below.
> self.dumpfile.write('SVN-fs-dump-format-version: 2\n'
> - '\n'
> - 'UUID: ????????-????-????-????-????????????\n'
> '\n')
>
> def start_revision(self, props):
> @@ -2083,7 +2078,7 @@
> def pass5(ctx):
> if (not ctx.dry_run) and (not ctx.dump_only):
> print 'loading %s into %s' % (ctx.dumpfile, ctx.target)
> - os.system('%s load --ignore-uuid %s < %s'
> + os.system('%s load %s < %s'
> % (ctx.svnadmin, ctx.target, ctx.dumpfile))
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 20 16:19:54 2003

This is an archived mail posted to the Subversion Dev mailing list.

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