How can I specify a Windows drive letter when using subversion svn+ssh -
how can specify windows drive letter when using subversion svn+ssh? possible? on 1 system works:
svn list svn+ssh://username@hostname://preserve/svn_repository
but on machine, of svn , repository , ssh logs on c: drive.
on new machine, subversion repository on n: drive, ssh , svn command live on c: drive.
i haven't been able come path specification finds repository (the repository in directory: n:\preserve\repositories\jbp)
note can access when logged machine via command:
svn list file:///n:/preserve/repositories/jbp
as example here call fails using svn+ssh
svn list svn+ssh://username@hostname/n:/preserve/repositories/jbp
if want file based reference, you need use file based uri.
note hostname "localhost" , if omit it, uri standard assume meant localhost.
if decide attempt access file different machine; well, need network uri (which may url). not possible directly access file system lies on other side of network, must use network access file system on behalf.
for unix systems.
file://localhost/etc/fstab file:///etc/fstab
for windows systems, colon creates issues uri format. libraries replace colon in c: pipe (or bar) c|. other libraries bend rules on windows file uris , allow colon.
for systems use colon replacement bar
file://localhost/c|/windows/clock.avi file:///c|/windows/clock.avi
for systems violate uri format
file://localhost/c:/windows/clock.avi file:///c:/windows/clock.avi
wikipedia gets of credit on one, i've used file based uris before subversion, work fine (especially creating small repository in own home directory track changes on one-man hobby projects).
Comments
Post a Comment