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

RE: Detect File Move?

From: Goddard Lee <lee.goddard_at_easa.eu.int>
Date: 2005-08-30 14:57:31 CEST

> From: Ben Collins-Sussman [mailto:sussman@collab.net]

> On Aug 30, 2005, at 7:35 AM, Goddard Lee wrote:
> >
> > Sorry: better phrased with svn-terminology, I think, is: is there a
> > way
> > for hook to know what sub-command will be/is being/has been
> executed?
> > If I renamed svn to svn-real, my svn would see its first agument
> > as, for
> > example, 'mv' ...?
>
> No, there's no way to know. Somebody could have run any of the
> following commands, and they'd all result in the exact same commit:

I'm trying to find out the subcommand without running log, to save time,
but also to check for a move before the move happens. I can find out the
command-line (svn move x) using "ps" (this is Unix) but I thought there
may be a more graceful solution.

It was a long shot - thanks!
lee

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 30 15:37:30 2005

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.