Check that an svn repository url does not exist

后端 未结 6 1157
别那么骄傲
别那么骄傲 2021-02-01 12:47

I am writing a script which will add a new project in the repository, based on the name supplied by the user. Part of this involves checking that an url with the same name does

6条回答
  •  遥遥无期
    2021-02-01 13:31

    I'd have commented on an existing answer but I don't have sufficient reputation.

    I wanted to find if a file had been imported successfully or not so I tried "svn info" and "svn ls" with "echo $?". I could only get a zero/non-zero return code when I used "svn ls": "svn info" always returned zero.

    This was with subversion 1.5.5 on Redhat RHEL6.

提交回复
热议问题