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

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

From: bruce <bedouglas_at_earthlink.net>
Date: 2004-09-21 22:58:49 CEST

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...

thanks...

-bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 21 22:59:13 2004

This is an archived mail posted to the Subversion Users mailing list.