Info about the repository
svn info
prints only locally modified items
svn status
prints locally and remote modified items
svn status --show-updates
or
svn status -u
prints only locally modified items
svn diff
prints locally and remote modified items
svn diff -r HEAD
Shows the diff with colors.
'-R' means read only
'-' means the input is read from stdin (from the pipe '|')
svn diff -r r123456 pom.xml | vim -R -
see last 10 commit
svn log -v -l 10
When does it happen? You deleted a file in a folder. The folder was deleted remotely
looks like that
D C some/directory
> local unversioned, incoming add upon update
D some/directory/some.file
How to resolve this:
touch some/directory/some.file
svn revert some/directory/some.file
svn switch http://path/to/your/branch/
Everything is merged automatically into the branch. If there are any conflicts it is shown on console.
Conflict discovered in '/home/developers/yourname/development/your-project/pom.xml'.
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: df