Search code examples
urlsvnsemanticssymbols

SVN special symbol stands for?


for SVN, what does the symbol ^ stand for?

  svn merge ^/feature
  svn merge ^/trunk

Is it the root URL of current project? or repository root file path? Thanks.


Solution

  • The caret (at the start of a URL) is equivalent to one starting at the root of the repository:

    In Subversion 1.6, a new caret (^) notation was introduced as a shorthand for "the URL of the repository's root directory".

    See more information about it here.