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

Re: vendor branch questions

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-07-22 05:27:32 CEST

Garrett Rooney wrote:
>
> the problem is that it's a pain in the ass to do it. what i'd like
> would be for 'svn import' to be able to import from an unversioned
> directory into my working copy, handling all the 'svn add' and 'svn
> delete' stuff that's needed. or, i'd like 'svn diff' to be able to
> show the diff between two paths that have no common ancestry, so i
> could simply 'svn import' the new release onto my vendor branch and
> have 'merge' and 'diff' work correctly.

Use svn/tools/client-side/svn_load_dirs.pl.

It does all of this automatically. It'll load one unversioned
directory into svn. It'll do all the svn mv's (only upon explicit
command by the user), automatically do svn rm's and svn add's to get
the old directory tree in svn to match the new imported directory.
The old directory can either be empty for the first import or
contain an older version of an unversioned directory.

It can also create tags so you can tag each version of the unversioned
directory. If you create a tag, it'll do a recursive diff between
your unversioned directory and the tagged directory to make sure
everything was done properly.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 22 05:28:44 2002

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.