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

post-commit export

From: Justus Stadler_external <Justus.Stadler_external_at_de.kspg.com>
Date: Tue, 16 Jun 2009 10:40:05 +0200

Hi everybody,
as far as I read this is a common issue but I could not find an answer to
this problem. If it is already solved, please let me know!
I am trying to introduce Subversion but the problem is that a repository
is not accesible to all Users. So I figured I let the developers work via
Subversion and keep a up-to-date copy of the rep in some networkdrive, so
everyone without SVN is able to see the projectstatus. My first intesion
was to provide them with a workingcopy. But our projects might reach sizes
of some GB and because the WC is always at least twice as big, this is not
an option (to expesive).
So I figured to export the rep. This is alright but because the developers
are already reluctant to use a new tool, and I do not want to burden them
with this additional work. My idea was to usa a post-commit hook that
synchronizes the rep and the directory.
By using a simple batch called "post-commit.bat" with the content

C:\Spezial\svn\svn export svn://svn/notizen/Stamm C:\hooking\ --force
(this exports to a lokal drive for testing)

it works just fine for me but always exports the hole trunk(=Stamm). I'm
looking for something that only exports the changes made during this
commit. It should not be to difficult but because I have no clue of
Scripts etc. this stresses me a lot. It is realy hard to find information
about this in the internet or maybe I looked in the wrong places... But I
found only people having similar problems and no solution. If you hav any
idea or better even an working hook, please tell me.

Thanks for your help
Justus Stadler

Ps: Our server is a windows xp servicepack 3 with svn version 1.6.2
       We are connecting via svnserve. The clients are also windows xp
servicepack 3 with TSVN version 1.6.2 if that is of any help.
       Oh, and as I wrote above I'm not experienced at all with scripts so
please be as detailed as possible;-)


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-16 10:43:24 CEST

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