I have a system (I've mentioned it before) that I'm developing on Linux. It
is all in the directory tree /thresh/threshNet/. In the directory threshNet
are a number of subdirectories, some I have set to be ignored, the rest are
part of the project. I set this up way before I ever realized I'd be needing
version control (actually, before I even really knew what it was -- I'd just
back up the old version of a file before I started changing it), so the
repository is in /thresh/threshNet/source -- and, yes, this directory is set
to be ignored.
So, while in the /thresh/threshNet/ directory, I ran this:
svnadmin create source
to create the repository. (Again, I need it in the same tree so it'll be
included in backups and archives.) After this, I edited the global config
file in /etc/subversion to ignore a number of directories, including source.
Then, to enter my project, I did this:
svn import ./ file:///thresh/threshNet/source -m "Initial import"
and it imported all my files. Once this was done, I wanted to test it out, so
I edited one program, /thresh/threshNet/bin/t-test by changing it just a
little, and got this:
[hal@server:threshNet]$ svn commit bin/t-test
svn: '/thresh/threshNet/bin' is not a working copy
Which lead to this:
[hal@server:threshNet]$ svn checkout bin/t-test
checkout (co): Check out a working copy from a repository.
usage: checkout URL... [PATH]...{followed by long help message}
And then (2 more attempts):
[hal@server:threshNet]$ svn checkout
file:///thresh/threshNet/source/bin/t-test
svn: URL 'file:///thresh/threshNet/source/bin/t-test' refers to a file, not a
directory
[hal_at_server:threshNet]$ svn checkout file:///thresh/threshNet/source/bin/
svn: Failed to add file 'bin/t-test': object of the same name already exists
While trying this, I was looking at the examples in the book. As best I can
tell, I'm doing what I should be doing, but I'm not able to check files in or
out.
As I mentioned, version control is new to me, and it's taking me time to get
used to how Subversion "thinks", so I'm betting I'm missing something really
obvious that I just don't follow. I'm a self-taught programmer (after losing
a job in video, there were no jobs around, and the only opportunity was to
start a business based on programming, which I hadn't done in 10 years), so I
often miss general concepts that most programmers learn in classes.
So what am I doing wrong and what do I need to do if I want to be able to edit
a file and check it in or out of the repository?
Thanks!
Hal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 29 20:00:40 2005