yes. I have done some wrapper for the switching. but my boss doesn't accept
it :-)
On Thu, Mar 13, 2008 at 12:30 AM, Lorenz <lorenznl_at_yahoo.com> wrote:
> Hellen wrote:
> >Actually I want to get the current directory path from "svn info " while
> >using "svn commit". so I can write a script for auto switch (svn switch
> >--relocate from_URL To_URL) from the mirror side to master side.
>
> There is no way to get any informations about the working copy within
> a hook script. Not even if working copy and repository are on the same
> computer and you are using the file://... protocol.
>
> The data transfered to the repositiory do not contain any information
> about the physical location of the commit.
>
> Have you thought about a wrapper script around svn to do the
> switching?
> --
>
> Lorenz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
Received on 2008-03-13 19:02:32 CET