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

making repositories

From: <kbrannen_at_gte.net>
Date: 2002-10-14 18:55:26 CEST

OK, I've joined the list. I can see that I'll be here awhile... :-)

I'm working my way thru the HTML handbook (nice job so far BTW), and I'm in
the "Make a repository" section. Specifically it says:

--->>>
Start by creating a new, empty repository using the svnadmin tool:

$ svnadmin create myrepos

Let's assume you have a directory someproject which contains files that you
wish to place under version control:

someproject/foo
             bar
             baz/
             baz/gloo
             baz/bloo

Once the repository exists, you can initially import your data into it, using
the ra_local access method (invoked by using a "file" URL):

$ svn import file:///absolute/path/to/myrepos someproject myproj
...
Committed revision 1.

The example above creates a new directory myproj in the root of the
repository's filesystem, and copies all the data from someproject into it.
<<<---

Q1. That import command seems to want the equivalent of a $CVSROOT sort of
thing, however, I have no idea where the "svnadmin create" put the repository.
  So what do I fill in?

[OK, found the answer way down in the "Repository Admin" section. But I'm
going to leave Q1 here so y'all can see that at least 1 person got confused
with the docs. Suggestion: add a comment about where the repository goes.
For example:

   $ svnadmin create myrepos

   That created a repository directory and files in the current directory,
   though you could have given it a fullpath name, e.g. /data/svn/myrepos.
   Now, let's assume you have a directory someproject which contains ...
]

Q2. While I suppose its dependent on how one works, generally speaking, isn't
the "someproject" and "myproj" args to import going to be the same name?

Sorry for the "newbie" questions, I'll try to keep them minimized. :-)

Thanks,
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 14 18:54:42 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.