2011-11-30 20 views
17

Alıntı SVN manuel WinXP'de çalışmıyor:Svn şapka notasyonu

In Subversion 1.6, a new caret (^) notation was introduced as a shorthand for “the URL of the repository's root directory”. For example, you can use the ^/tags/bigsandwich/ to refer to the URL of the /tags/bigsandwich directory in the root of the repository. Note that this URL syntax works only when your current working directory is a working copy—the command-line client knows the repository's root URL by looking at the working copy's metadata. Also note that when you wish to refer precisely to the root directory of the repository, you must do so using ^/ (with the trailing slash character), not merely ^.

Ama çalıştırdığınızda:

C:\Svn_Working_Copies\Test1\branches\ver_1_0\Project1>svn log ^/ 

benim WinXP iş istasyonunda, Test1 bir çalışma kopyası olan svn sürümünü 1.7 kullanılarak

svn: E155007: 'C:\' is not a working copy 

Neler oluyor: bir svn deponun aşağıdaki hatayı alıyorum?

cevap

24

Düzeltme, windows komut satırınız için bir çıkış karakteridir. Bunun yerine bir çift şerit kullanın (yani ^^).

+0

Çok teşekkürler! – Neutrino

+4

Yolu alıntılamanın da işe yaradığını unutmayın (ör. Svn log "^ /"). Bunu Windows, Linux ve Mac için belgelere yazdığımdan beri bunu tercih ettim. –

+0

@JasonKostempski - Windows 7'de alıntı -must-kullanıyorum. – lit