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

Detect File Move?

From: Goddard Lee <lee.goddard_at_easa.eu.int>
Date: 2005-08-30 12:01:24 CEST

Hello,

What is the best (cheapest, most economical, quickest to operate) way to
detect a file (and/or directory) move?

Realise I probably need to use the post-commit hook, but ... Is it
possible to find out what command was issued to call post-commit,
without going back through the process-ID tree? Realise I could replace
the 'svn' command with something that would call the actual svn command
and then do its own business too, but that's not very clean, and would
lead to the next guy to sit in this chair having awful problems during
the next update , I'm sure.

I notice Tortoise SVN can display such Copied... data, which I thought
came from `svn info` but that requires a working-copy....?

Only a couple of weeks subversion experience, so please forgive any
silliness on my part.

Background, which may/not be relevant: I have multiple repositories
accessed by end users using Windows "WebFolders" (Apache, AuthLDAP, SVN
Dav, autoversioning). It's a dream come true. One repository has a
directory of files generated by an alien application, each of which is
simply a list of paths within the repository. When a document located at
one of those paths moves, the file listing the paths has to be updated
to reflect the move.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 30 12:03:16 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.