On 8/3/07, Merlin <email@example.com> wrote:
> Hi there,
> I am new to subversion and just successfully installed it as stand alone
> deamon and created the repository. After checking all the files in, I
> found a mayor problem which I do hope somebody here could help me with.
> Until now I was developing a LAMP application on a suse machine. After I
> was satisfied with the results of the development, I tar ziped the
> entire folder uploaded it to the live machine and installed it there.
> Now that I use subversion, there is one mayor problem:
> On the development server I can not access the files in the repository
> with apache, since I do not find those files. Where are they living?
These are RTFM issues. The SVN server manages a database. The files
in that database are NOT meant for human mucking.
> Another problem is that since I can not find the files, I can not tar
> zip them and upload them to the live server.
> Can somebody give me a hint where to find them and how to set this up to
> get it working?
You _can_ check them out (or export them) on the server, and then tar
up the output.
svn co svn://server/repo/trunk outdir
svn export svn://server/repo/trunk outdir
server = your server machine
repo = name of you repository
outdir = directory (which will be created) for output files
(You may need to supply a user name if the account you use on the
server is not a valid subversion user: --user username)
NOTE: The export command does NOT create the .svn subdirectories (so
it's not really a working copy).
Another option: cd into the apache htdocs tree where the deployed
version lives, and check out and in-place copy
svn co svn://server/repo/trunk . # NOTICE the . at the end
Now, you can just do an update in the working copy on the server.
NOTE: You need to look into this before doing it: make sure your trunk
is always stable, disable the .svn directories from apache access,
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sat Aug 4 00:18:19 2007