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

Re: Import manually versioned files

From: Stefan Hett <stefan_at_egosoft.com>
Date: Wed, 21 Dec 2016 09:46:09 +0100

On 12/20/2016 10:54 PM, Tim Erickson wrote:
>
> We are installing Subversion on one of our servers for the first time.
> We have been manually versioning files via a simple directory
> structure by keeping a version/date directory under the source. This
> is where we keep old source code. When importing the repository for
> the first time, is there a way to import all the old source with the
> current source in a way that it will look like Subversion was actually
> doing the versioning all along?
>
>
Shouldn't be much work to write a custom script copying over the files
from your older folders successively over the new files and do according
svn add/del/ci calls for each version.
I'm not aware of an existing tool/script doing precisely what you need,
but it should not be more than a few hours workto write one, I guess.

-- 
Regards,
Stefan Hett, Developer/Administrator
EGOSOFT GmbH, Heidestrasse 4, 52146 Würselen, Germany
Tel: +49 2405 4239970, www.egosoft.com
Geschäftsführer: Bernd Lehahn, Handelsregister Aachen HRB 13473
Received on 2016-12-21 09:46:20 CET

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.