First, I wouldn't run svn as root like you are with 'sudo'. Instead, change the ownership of your repo so that you have write access.
Your command was trying to import 'cashier.cpp' into the repository as the name 'repos'. You need to do this instead: svn import -m "initial import" cashier.cpp file:////usr/local/svn/repos/cashier.cpp Import is usually used to bring a whole tree of files into a repository in one shot. Import does not create a working copy, so you will need to subsequently check out to begin using svn to track changes to your file. On Sep 25, 2014, at 8:41 AM, David Lowe <doctorjl...@earthlink.net> wrote: > Greetings > > I'm trying to set up a local repository for my schoolwork. The book > doesn't seem to have many examples with this type of setup, so i seem to be > stumbling a bit. First off, this part seemed to go okeh: > > $ sudo svnadmin create /usr/local/svn/repos > > But then this bit doesn't: > > $ sudo svn import -m "initial import" cashier.cpp file:////usr/local/svn/repos > Password: > svn: E150002: Path 'file:///usr/local/svn/repos' already exists > > How should i be going about this? > > sent from Mountain Lion >