Pagine

Thursday 15 December 2016

SVN tutorial n 21 - list

The "svn list" command shows the entry list on repository, this command is simalar to onomimus bash command. The synopsis is:
 svn list <target>[@<svn_revision>]
or
 svn ls <target>[@<svn_revision>]
Where <target> can be the local working copy or remote url. If <target> is not present the command will show the current local directory.
You can use this command for a precise revision using -r option or the sintax with "@".
An other helpful option is --xml for the output format in xml.

Examples:

1) List of trunk via url
 svn list https://svnrepo/svn/myproject/trunk
2) List in myfolder (local copy)
 svn list myfolder
3) List of trunk via url with revision number 40 with xml format
 svn list --xml https://svnrepo/svn/myproject/trunk@40

No comments:

Post a Comment