UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

15.7.  Other Subversion operations

Subversion allows more operations over the managed files. Some of them are described next. For a detailed description check the application manual.

  • Ignoring files. Some files can be annotated to be ignored by Subversion. This is accomplished by assigning file names to the svn:ignore property with the propset command. For example, the command

    svn propset svn:ignore 'f1.o f2.o f3.o' .

    marks files f1.o, f2.o and f3.o to be ignored by Subversion in all operations.

  • History. The log shows the history of remarks and versions for a file or folder.

  • Differences between versions. This operation compares two versions of a given file, one of them can be the local copy. For example, the commands:

    svn diff f.c
    svn diff -r1534:1535 f.c

    show first the differences between the local copy of f.c and the copy in the repository, and then the differences between versions 1534 and 1535 of the same file.