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

Re: svnsync: --sync-password doesnt accept the special charactert '$'?

From: fida aljounaidi <fida.aljounaidi_at_gmail.com>
Date: Mon, 18 May 2009 20:46:53 +0200

hi
thanks for your answer.
But now, i have the error password Mismatch.

Also i have another problem. After the commit, i have this error
message in the client console :

svn: Échec de la requête MERGE sur '/svn/project/branches/test'
svn: MERGE de '/svn//project/branches/tes': 200 OK (http://svn.project.example).

where svn.project.example is the source svn server.

On 18/05/2009, Stefan Sperling <stsp_at_elego.de> wrote:
> On Mon, May 18, 2009 at 07:23:57PM +0200, fida aljounaidi wrote:
>> Hello
>> I'm tryingA to automate the "svnsync sync" command after every commit.
>> On the post-commit script i put the command line :
>> svnsync sync http://server.subversion/svn-mirror --sync-username
>> syncusername --sync-password $syncpass (the sync password contain the
>> character '$').
>>
>> This doesnt work. In fact, i have this error on the client console:
>> post-commit hook failed (exit code 1) with output:
>> svnsync: missing argument: --sync-password
>>
>
> On the command line, you need to put words that start with $ in quotes:
> --sync-password '$syncpass'
>
> Otherwise the shell tries to expand the variable "syncpass".
> It expands to an empty string if the variable is not defined.
>
> Stefan
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 21:33:25 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.