svnsync looses revision properties although hook installed
Posted
by roesslerj
on Stack Overflow
See other posts from Stack Overflow
or by roesslerj
Published on 2010-05-03T21:44:59Z
Indexed on
2010/05/03
21:48 UTC
Read the original article
Hit count: 291
Hello all!
I have a pretty weird problem. We have setup an SVN-Mirror via cronjob (because it needs to go from inside to outside of a firewall, so no post-commit-hook possible) and svnsync. We installed a pre-revprop-hook just as told.
Everything seems to work fine, except that it doesn't.
E.g. when manually executing the script.
# svnsync --non-interactive sync file://<path-to-mirror> --source-username <usr> --source-password <pwd>
Committed revision 19817.
Copied properties for revision 19817.
No error, no complaints. But if checking for the revision properties it says:
# svnlook info <path-to-mirror>
0
# svn info -r HEAD file://<path-to-mirror> 2>&1
Path: <root-of-mirror>
URL: file://<path-to-mirror>
Repository Root: file://<path-to-mirror>
Repository UUID: <uid>
Revision: 19817
Node Kind: directory
Last Changed Rev: 19817
So somehow the author and timestamp information gets lost. But we need that information for our internal processes. Since no error or warning is produced I have absolutely no idea even where to start to look. Everything is local (except for the remote master), so there are no server-logs to look at.
Any ideas how I could approach that problem, or even better -- how to solve it? Any ideas appreciated.
© Stack Overflow or respective owner