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

auto switch for mirror side user

From: Hellen <hellenff_at_gmail.com>
Date: Wed, 12 Mar 2008 11:15:28 -0700


I have a question about the "svn commit" from the mirror side.

For the standard way, a user from mirror side wants to check-in the change,
the user has to do the additional switch that from the mirror side to the
master side as "svn switch –relocate <from_URL> <To_URL> , then do the
commit. Then switch back to the mirror side.

Is that possible to skip the switching part for the user at mirror side,
just do "svn commit" as if connecting to the master? Then at backend, put
the "svn switch – relocate .." in the pre-commit, then after the commit to
master side is done, switch it back?

 I am not sure whether this is a good idea or not? The environment here is
that everyone uses https connection to the server, no user has unix account
on either master or mirror system. The sync is running once an hour.

  The problem I'm current running into is: "svn info " doesn't work in
either pre-commit or start-commit, I can't get the current location of the
working copy while using "svn commit".

Any suggestion is welcome.

thanks in advance.

Received on 2008-03-12 19:16:26 CET

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.