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

cvs2svn does not tell svnadmin to ignore the UUID on load

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-05-12 09:35:53 CEST

cvs2svn.py:
[snip]
> # 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')
[snip]
> def pass5(ctx):
> if not ctx.dry_run:
> # ### FIXME: Er, does this "<" stuff work under Windows?
> # ### If not, then in general how do we load dumpfiles under Windows?
> print 'loading %s into %s' % (ctx.dumpfile, ctx.target)
> os.system('%s load %s < %s' % (ctx.svnadmin, ctx.target, ctx.dumpfile))
                 ^^^^^^^^^^^^^^^
[snip]

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 12 09:36:52 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.