svn-dav-fs
handler for 'svn+https' url scheme (plain js svn dav fs)
API
Table of Contents
SVNHTTPSScheme
Extends HTTPSScheme
URL scheme 'svn+https' svn over https
optionsRequest
Execute options request
Parameters
activityCollectionSet
query for the activity collection set.
Parameters
context
Context execution contexturl
URL
Returns Promise<ActivityCollectionSet>
userAgent
Delivers svn user agent
Returns string user agent identifier
clientVersion
Delivers svn client version
Returns string version
davHeader
Type: string
mkcol
Parameters
Examples
MKCOL /svn/delivery_notes/!svn/txr/1485-1cs/data/comp2 HTTP/11DAV http://subversion.tigris.org/xmlns/dav/svn/depthDAV http://subversion.tigris.org/xmlns/dav/svn/mergeinfoDAV http://subversion.tigris.org/xmlns/dav/svn/log-revprops
startTransaction
Start a new transaction
Parameters
context
Contexturl
ULRmessage
string
Examples
POST /svn/delivery_notes/!svn/me HTTP/11Content-Type application/vndsvn-skelDAV http://subversion.tigris.org/xmlns/dav/svn/depthDAV http://subversion.tigris.org/xmlns/dav/svn/mergeinfoDAV http://subversion.tigris.org/xmlns/dav/svn/log-revpropscreate-txn-with-Response:SVN-Txn-Name: 1483-1a1
Returns Object acs, txn
put
- See: http://svn.apache.org/repos/asf/subversion/trunk/notes/svndiff
- See: http://stackoverflow.com/questions/24865265/how-to-do-svn-http-request-checkin-commit-within-html
- See: https://git.tmatesoft.com/repos/svnkit.git
Parameters
optionsFromEnvironment
Extract options suitable for the constructor form the given set of environment variables
Parameters
env
Object
Returns Object undefined if no suitable environment variables have been found
ActivityCollectionSet
Parameters
Properties
repositoryRoot
Type: string
absoluteRepositoryRoot
Type: string
pathInsideRepository
Returns string path of the url inside of the repository
encodeProperties
Encodes objects into strings as used by svn
Parameters
object
Object to be encoded
Examples
create-txn-with-props svn:txn-user-agent 48 SVN/19 serf/138 svn:log 19 this is the message svn:txn-client-compat-version 5 194
Returns string encoded object value
install
With npm do:
npm install svn-dav-fs
license
BSD-2-Clause