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

Re: Creating First Repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-23 02:27:59 CET

On Nov 22, 2004, at 4:35 PM, Tom Rawson wrote:
>
> I got it to work, but it ended up taking a little more than that. It
> worked better for me to check out the empty project, then use add for
> everything. Here's what I ended up with (I set up a script for this,
> so I could try different approaches and make mistakes -- it's a small
> project so deleting and retrying was OK):
>
> svnadmin.exe create --fs-type fsfs h:/svnrepos/project
> svn checkout file:///h:/svnrepos/project .
> svn add --non-recursive trunk/
> svn add --non-recursive trunk/html/
> svn add --non-recursive trunk/html/images/
> ... [more directories]
> svn add --targets allfiles.txt
> svn commit -m "Initial setup"
> svn list --verbose -R trunk/
>

I have to admit, I'm looking at this script and I'm utterly confused...
it's so complex! I don't understand what you're trying to accomplish.
Why not just import an entire tree into the empty repository, all at
once, in a single command?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 23 02:31:41 2004

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