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

svnlook changed - howto see all deleted files in pre-/post-commit hooks

From: Jan Ciesko (GMAIL) <jan.ciesko_at_gmail.com>
Date: Wed, 03 Aug 2011 15:14:49 +0200

Dear SVN-experts,

I'd like to ask if there is a way to see which particular files have
been deleted when a directory deletion has been commited.

Example:

I add to a repository BAR/Apps the folder Jacobi. With "svnlook changed
"$REPOS"" in the post-commit hook I get the output:
A BAR/Apps/Jacobi/
A BAR/Apps/Jacobi/LICENSE
A BAR/Apps/Jacobi/Makefile
A BAR/Apps/Jacobi/Readme
A BAR/Apps/Jacobi/bin/
A BAR/Apps/Jacobi/src/
A BAR/Apps/Jacobi/src/jacobi.c

On deleting the folder Jacobi from the repository and running $SVNLOOK
changed "$REPOS" --transaction "$TXN" I'm getting only.
D BAR/Apps/Jacobi/

Since I'm parsing a Readme file to update a TRAC front-end, I would very
much need to see the individual files that were deleted in the Jacobi
folder, including the Readme. Is there a way of getting this information?

Thanks a lot,
Jan.
Received on 2011-08-03 15:15:27 CEST

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.