cd /working/dir/path/to/branch
svn log --stop-on-copy | tail -4 | grep ^r | cut -d' ' -f1 | sed 's/r//'
1111
svn propget db:::dweb::trunk:last_merge_from /working/dir/path/to/branch
2222
svn merge -r 1110:2222 https://remote/path/to/trunk /working/dir/path/to/branch
# check for conflicts and test
svn commit -m'Pull from trunk'
Diff branch against trunk
1111
svn diff https://remote/path/to/trunk@1111 https://remote/path/to/branch