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

Re: svn info doesn't work in pre-commit script

From: Hellen <hellenff_at_gmail.com>
Date: Thu, 13 Mar 2008 11:01:58 -0700

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

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