svn Flashcards

1
Q

commit whole directory with message

A

svn ci -m “message”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

get all changes from remote directory

A

svn up

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

see what changed in file since last commit

A

svn diff <filename></filename>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

show current revision

A

svn info
svn info –show-item revision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

show last x commits

A

svn log -l x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

show revision history of certain file

A

svn log “filename”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

revert all

A

svn revert -R .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the eclipse workflow for doing svn commits (especially in late stages of projects)?

A

eclipse -> choose directory in project explorer -> team -> revert -> select files that should not be changed -> revert -> commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

how does one undo a svn commit?

A

svn can’t just revert. Thats why:
svn merge -c -(revision number) “path”
commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how does one find out, which subdirectories a remote svn repository has?

A

svn ls “URL”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Get local copy of remote repository

A

svn up –set-depth infinity “directory name”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Remove local copy of repository

A

svn up –set-depth empty “directory name”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is the difference between svn checkout and svn update?

A

checkout basically copies a new svn repo, svn update get’s all changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly