You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by we...@tigris.org on 2009/05/04 18:55:10 UTC

can't feed password for svnsync synchronize

Hi,

I got an issue which I didn't see anyone mentioned so far. Just set up a mirror repository and want to schedule a cron job which will synchronize with source repository every 2 hours. This way is a little special but it is what we want. 
The interesting thing is that I can manually run svnsyn synchronize command and feed the user name and password without any problem. However, if I use --non-interactive in a shell script and put password like ' --sync-username xxxx  --sync-password xxxx', it won't work.
I always get error message:

svnsync: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: PROPPATCH of '/svn/abc-mirror/!svn/bln/0': authorization failed (http://svn.abc.com).

We have another repository which has same set up and it works properly. The only difference is that both source and destination repositories has account with same user name. Since 1.5 allows different user name on both side, we didn't create same user name account this time. Is something wrong in my configuration or anything wrong in 1.5?

Many thanks,

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2058954

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].