SVN

Functions

  • show information about the repository
    svn info <url>
  • show revision
    svn info --show-item revision <url>
  • diff
    $ svn diff  -r x
  • log history
    $ svn log
  • create tag
    $ svn copy /trunk /tags/1.0 -m "Tagging the 1.0 release"
  • delete tag
    
$ svn delete /tags/1.0 -m "Tag no longer needed"
  •  local file obstruction, incoming file add upon merge
    
$ svn resolve --accept working
  • local file missing, incoming file delete upon merge
    
$ touch <file>
    $ svn revert <file>
    
$ rm <file>
  • local dir obstruction, incoming dir add upon merge
    $ svn resolve --accept working <file>
  • local file add, incoming file add upon update
    $ svn resolve --accept working <file>
  • local file unversioned, incoming file add upon update
    $ svn resolve --accept working <file>
    
$ svn revert <file>
  • local file delete, incoming file edit upon update
    $ svn resolve --accept working <file>
  • Checksum mismatch for
    go to folder of
    make a copy of the files in folder

    $ svn update --set-depth empty

    $ svn update --set-depth infinity
  • local dir edit, incoming dir delete upon merge
    $ touch <folder>
    
$ svn revert <folder>
    
$ rm -rf <folder>
  • Ignore folder during svn update
    $ svn update --set-depth exclude <folder>

    Attention: remove the <folder>
    Add folder again

    $ svn update --set-depth infinity

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.