svn Flashcards
commit whole directory with message
svn ci -m “message”
get all changes from remote directory
svn up
see what changed in file since last commit
svn diff <filename></filename>
show current revision
svn info
svn info –show-item revision
show last x commits
svn log -l x
show revision history of certain file
svn log “filename”
revert all
svn revert -R .
what is the eclipse workflow for doing svn commits (especially in late stages of projects)?
eclipse -> choose directory in project explorer -> team -> revert -> select files that should not be changed -> revert -> commit
how does one undo a svn commit?
svn can’t just revert. Thats why:
svn merge -c -(revision number) “path”
commit
how does one find out, which subdirectories a remote svn repository has?
svn ls “URL”
Get local copy of remote repository
svn up –set-depth infinity “directory name”
Remove local copy of repository
svn up –set-depth empty “directory name”
what is the difference between svn checkout and svn update?
checkout basically copies a new svn repo, svn update get’s all changes