Renaming a directory in SVN
From: Tyler <tyler.badorrek_at_ngc.com>
Date: Tue, 3 Nov 2009 13:34:22 -0800 (PST)
I'm having problems when renaming a directory and committing it. I have a post-commit hook script set up to detect any changes made in SVN and modify a shadow directory accordingly.
When I rename a directory, SVN creates a new directory with the new name and moves over the contents of the old to the new one. The old directory and its contents are then deleted during the commit.
The problem is, "svnlook changed" only sees the delete of the old directory/contents and the addition of the new directory, but none of the contents inside the new one. It seems like the contents are moved without actually being committed, so my hook script isn't aware of it.
Is there a way for a hook script to detect when a directory is renamed rather than just deleted and a new one added?
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.