windows - How to Create Visual SVN Repository and get that URL -


i want create visual svn repository , repository url in command prompt. need url not other information. can me...

i need command equal visual svn new->repository , copy url clipboard

thanks!

update 2016:

upgrade latest visualsvn server version includes powershell module adds number of powershell cmdlets subverion server , repository administrators. read visualsvn server | scripting , automation page.

the cmdlets should helpful in regular administration tasks , automation. here complete list of visualsvn server powershell cmdlets: kb88: visualsvn server powershell cmdlet reference.

as @ivanzhakov suggested, can create new repository using new-svnrepository cmdlet.

here example of creating new repository myrepository , grabbing url parameter:

$repo = new-svnrepository -name myrepository $repo.url 

outdated answer:

i assume mean visualsvn server, not visualsvn extension visual studio.

  • you can create repository svnadmin create command or using visualsvn server's wmi (windows management instrumentation) provider. here powershell command creates new repository "repo1":

    invoke-wmimethod -namespace root\visualsvn -class visualsvn_repository -name create -argumentlist repo1

  • you can url of repository "repo1" following powershell command:

    get-wmiobject -namespace root\visualsvn -class visualsvn_repository | select-object -expandproperty url | select-string -simplematch "repo1"

if want explore visualsvn server wmi provider, can check it's mof file located in following folder "%visualsvn_server%\wmi" on computer visualsvn server installed. using file reference can write program manage visualsvn server on various programming languages.

you may want check msdn article "using wmi".


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -