Nome

svn cat — Mostra i contenuti dei file o URL specificati.

Synopsis

svn cat TARGET[@REV]...

Descrizione

Output the contents of the specified files or URLs. For listing the contents of directories, see svn list.

Mostra i contenuti dei file o URL specificati. Per elencare i contenuti delle directory, vedere svn list.

Nomi alternativi

None

Nessuno

Cambiamenti

Nothing

Niente

Accesso al deposito(repository)

Yes

Sì

Opzioni

--revision (-r) REV
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Esempi

If you want to view readme.txt in your repository without checking it out:

Se volete vedere readme.txt nel vostro deposito(repository) senza scaricarlo:

$ svn cat http://svn.red-bean.com/repos/test/readme.txt
This is a README file.
You should read this.
  $ svn cat http://svn.red-bean.com/repos/test/readme.txt
  Questo è un file README.
  Dovreste leggerlo.
[Suggerimento] Suggerimento

If your working copy is out of date (or you have local modifications) and you want to see the HEAD revision of a file in your working copy, svn cat will automatically fetch the HEAD revision when you give it a path:

Se la propria copia di lavoro è datata (o ci sono modifiche locali) e si vuole vedere la revisione HEAD di un file nella propria copia di lavoro, svn cat automaticamente prenderà la revisione HEAD quando gli viene fornito un percorso:

$ cat foo.c
This file is in my local working copy
and has changes that I've made.

$ svn cat foo.c
Latest revision fresh from the repository!
  $ cat foo.c
  Questo file è nella mia copia locale
  e ha i cambiamenti che ho fatto io.

  $ svn cat foo.c
  L'ultima versione fresca dal deposito(repository)!