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

Checkin without working copy

From: Dirk Hoffmann <dhoffmann_at_antivir.de>
Date: 2004-08-26 10:24:05 CEST

Hi,

I'm using subversion to hold all the files which go into our product
packages.

One java program copies files into the repository another one retrieves
the files from the repository (simplified version). I'm using the
javahl-binding as a bridge from java to subversion.

What I need from subversion is the possibility to get back to older
versions of files, to efficiently store series of versions of files, to
alter the directory layout of the space holding the files and to attach
properties and log messages to files.

What I don't need are working copies as no user has direct access to the
repository and no editing takes place on local copies.

Getting a file out of the repository is easy using the javahl equivalent
of `svn cat'.

Putting a file into the repository is easy as long as it is the first
one of that name using the javahl equivalent of `svn import'.

But things are getting complicated when a new version of an already
existing file needs to be put into the directory which is the most
frequent use case.

At the moment this is my receipt to achieve that:

1. Checkout the file's parent directory into a temporary working copy.
2. Copy the new version of the file into the working copy overwriting
the previous version
3. Commit change providing a log message
4. For administrative reasons get the number of the head revision.

Doing so has the disadvantage of checking out not only single files but
entire directories. There is also a big overhead for creating the
working copy's directory structure.

I considered accessing the repository using webdav clients. But will I
then be able to provide log messages or to retrieve the head revision's
number over webdav?

If there was a way to copy new versions of files into the repository
without needing a working copy subversions range of use cases would be
much broader.

Any thougths on this are very much appreciated.

Regards
Dirk

-- 
Software Engineer
H+BEDV Datentechnik GmbH
<mailto:dhoffmann@antivir.de>
Lindauer Strasse 21, 88069 Tettnang, Germany
Tel.: +49 (0) 7542-93040
Fax.: +49 (0) 7542-52510
<http://www.antivir.de>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 26 16:38:56 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.