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

Re: adding dir/files to a working copy/repository....

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-21 23:03:06 CEST

bruce wrote:
> hi...
>
> in adding a new dir with underlying files to a repository...
> /foo
> cat.txt
> dog.txt
>
> what's the best approach....
>
> these would be new dir/files.
>
> should i:
> 1) svn mkdir foo
> 2) copy /tmp/cat.txt foo/cat.txt
> 3) copy /tmp/dog.txt foo/dog.txt
> 4) svn add mkdir http://foo.com/svn
> 5) svn commit -m "add new dir" http://foo.com/svn
>
> (should we even need the http:\\.... ??)
>
> or:
> 1) mkdir foo
> 2) copy /tmp/cat.txt foo/cat.txt
> 3) copy /tmp/dog.txt foo/dog.txt
> 4) svn copy foo http://foo.com/svn -m 'new test dir'
>
> with the expectation that this will copy the new dir/files into the
> repository, and do the commit....
>
> or are the other better ways to handle this situation...
>
> comments/opinions/thoughts are cool...

Neither of those will work.

Read about 'in place import' in the FAQ.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 21 23:40:47 2004

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.