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

Re: Takeover Take 2 Was: Re: the 'takeover' feature

From: Michael Sweet <mike_at_easysw.com>
Date: 2006-04-18 16:13:03 CEST

Molle Bestefich wrote:
> ...
> Therefore I'd like to see a new subcommand, which would convert local
> files into a working copy. That's exactly the same functionality that
> Alan proposes: checkout BASE files and create .svn folders, but change
> nothing else. Just for laughs, let's call this 'svn integrate'.
> ...

That sounds more like an option to "svn import" - basically, import
the (current) directory into the specified repo and then do the
equivalent of a checkout in that directory, e.g.:

     svn import --takeover http://foo.bar.com/myproject/trunk

to import the current directory or:

     svn import --takeover myproject http://foo.bar.com/myproject/trunk

to import the named directory and setup a WC there.

Mind you, this isn't something I do every day, but I *do* do the
equivalent of this probably once a month when I start a new
project (svn import foo; mv foo foo.old; svn co foo; verify foo;
rm -f foo.old). Support for this would save me a bunch of steps...

Also, if checkout gets support for --takeover, it should be super-
easy to add it to import as well.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 18 16:13:45 2006

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.