Skip to main content
Version: QB13

Repository Path

Repository path is used to refer to file in SCM systems. Example repository urls for different SCM systems:

  • Subversion : the path is relative to Subversion root, WITH a leading "/".

    /my-app/trunk/pom.xml

    Since the path is relative to Subversion root, above value will remain unchanged whether the checkout url defined in a Subversion repository is svn://localhost/my-app or svn://localhost/my-app/trunk.

  • CVS : the path is relative to the CVS root, WITHOUT the leading "/"

    my-app/trunk/pom.xml

    Since the path is relative to the CVS root, above value will remain unchanged whether the checkout module defined in a CVS repository is my-app or my-app/trunk

  • Perforce : the path should be an absolute path in the Perforce server, including the depot part

    //depot1/my-app/trunk/pom.xml
  • Visual SourceSafe : the path is an absolute path in sourcesafe database, starting with "$/"

    $/my-app/trunk/pom.xml

    Since the path is relative to the sourcesafe root, above value will remain unchanged whether the checkout project defined in a VSS repository is /myappor/my-app* or */my-app/trunk.

  • Accurev : the path is relative to the depot root, WITHOUT the leading "/"

    my-app/trunk/pom.xml
  • ClearCase : the path is an absolute path in ClearCase, including the vob part:

    /vob1/my-app/trunk/pom.xml
  • StarTeam : the path is relative to the view root, WITHOUT the leading "/"

    my-app/trunk/pom.xml

    Since the path is relative to the view root, above value will remain unchanged whether the source path defined in a StarTeam repository is my-app or my-app/trunk

  • Git : the path is relative to git repository root, WITHOUT the leading "/"

    my-app/trunk/pom.xml
  • Mercurial : the path is relative to repository root, WITHOUT the leading "/"

    my-app/trunk/pom.xml
  • Bazaar : the path is relative to repository root, WITHOUT the leading "/"

    my-app/trunk/pom.xml
  • Team Foundation Server : this path is relative to the repository root, starting with "$/"

    $/my-app/trunk/pom.xml

    Since the path is relative to the repository root, above value will remain unchanged whether the source control folder defined in TFS repository is /myappor/my-app* or */my-app/trunk.