Check that an svn repository url does not exist

后端 未结 6 1156
别那么骄傲
别那么骄傲 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:50

    To receive information about any existing repository (e.g. for possibly enriching an error message) you could also use

    svn info https://developernetwork.repo.net/svn/Projects/Calculator/
    

    For a non-existing project it will just return

    svn: Could not open the requested SVN filesystem
    

提交回复
热议问题