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

RE: Best way to import old project?

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-04-04 03:48:15 CEST

Robert Mohr wrote:
> Assuming that all branches and tags have the same files
> (but different content in those files), you can import
> the trunk, svn copy it to each of the branches and tags,
> and then, without using svn, replace each branch and tag
> in the working copy with what you actually want in it.
> svn should recognize that the branch is roughly similar
> to the trunk, and that will keep your copies "cheap".
>
> If a file is in the trunk but not the branch/tag (or
> vice-versa), you'll need to remove it using 'svn delete',
> or add it with 'svn add'.
>
> At least, that's what I did when I started using Subversion.

You can use the svn_load_dirs.pl script to make this easier.

http://svnbook.red-bean.com/en/1.1/ch07s04.html#svn-ch-7-sect-4.2

It's not magical (doesn't pick up files that have been
renamed without hints) but it's still very nice.

Take a look, anyway.

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 4 03:51:36 2005

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.