Re: newbie cant import files into repo

2014-07-15 Thread Rich Shepard

On Tue, 15 Jul 2014, frank ernest wrote:


Hi, I created a repo using svnadmin create in a dir called trunk (that's
what your supposed to do, right?) The operation succeeded but the files
that I want to version (c source which I should have versioned long ago.)
I can't seem to add to the repo. When the code is ready for alpha release
I plan to host it on source forge but until then It's just me working on
the code and my online connection is intermittent so I decided to create
my repo locally. I'm not subscribed so please include my email in your
reply.


David,

  What command did you use to create the repository? Did that directory
exist prior to running 'svnadmin create'?

  What syntax are you using to import the source code into the repository?

Rich


Clarifying Repository Setup and Initial Import

2014-07-14 Thread Rich Shepard

  Running 1.7.16 on Slackware-14.1. I used svn about a decade ago and am now
starting a new project and want to start fresh with the tool. I've read the
book, particularly Chapters 2 and 5 several times and still have questions
whose answers I don't find in the book.

  The repository is located in ~/development/svn-repos/. Following the
section Planning Your Repository Organization in Chapter 5 I created two
project root directories which I'll call project-A/ and project-B/. Under
each of these I created the subdirectories of branches/, tags/, and trunks/.
However, running 'svnadmin create ~/development/svn-repos/' from
~/development failed because the directory existed so I removed the
svn-repos/ subdirectory and re-ran the svnadmin create command. Then I
recreated the two project subdirectories (root, branches, tags, and trunk).

  When I run 'svnlook info file:///home/rshepard/development/svn-repos/'
this error is reported:

svnlook: E02: Can't open file
'file:/home/rshepard/development/svn-repos/format': No such file or
directory

Yet, that file is present:

ls svn-repos/
README.txt  conf/  db/  project-A/  format  hooks/  locks/  project-B/

Is this error generated because I've not yet imported either project?

  To import the current code for each project, I assume that I need to cd to
that project's subdirectory before running 'svn import'. When I specify the
repository location with
file:///home/rshepard/development/svn-repos/project-?/ do I also need to
specify the trunk/ subdirectory?

  When I clarify how to get the repository directory structure correct, and
use the correct syntax to populate each project's repository, I will use
that same syntax to checkout and commit changes to each project.

Rich



Re: Clarifying Repository Setup and Initial Import

2014-07-14 Thread Rich Shepard

On Mon, 14 Jul 2014, Mark Phippard wrote:


You cannot manipulate the actual file system of your repository using your
OS commands.


Mark,

  I didn't think so, but the book is not very clear on this.


Create the empty repository then use svn mkdir to create folders in the
repository. You only see the content of a repository using SVN client.


  OK. Thanks!

Rich


Re: Clarifying Repository Setup and Initial Import

2014-07-14 Thread Rich Shepard

On Mon, 14 Jul 2014, Mark Phippard wrote:


Create the empty repository then use svn mkdir to create folders in the
repository.


Mark,

  It took me two tries to get it right because the first time I used the
--parent option with mkdir and that removed the original source directories
for which I was trying to create svn repositories.

  After copying the two source directories from the backup drive I first
created each project's root directory (using 'svn mkdir file:///'), then
adding the subdirectories of branches/, tags/, and /trunk. That left the
original project directories in place.

  Importing each project to the respective repository directory, removing
the original project files, then checking out each trunk worked just fine.

Thanks again for clarifying,

Rich


Re: SVN installation

2014-07-14 Thread Rich Shepard

On Mon, 14 Jul 2014, Somashekarappa, Anup (CWM-NR) wrote:


We are facing some issue while installing apache SVN 1.7.8 in unix server.
Could you please provide the link or steps to install SVN?


http://svnbook.red-bean.com/

Rich