Subversion tricks
- Viewing all externals:
1 svn propget -R svn:externals
- Partial checkout:
1 svn checkout --depth empty https://svnweb.freebsd.org/base
2 svn update --set-depth immediates base
3 svn update --set-depth infinity base/head
- Flip SVN URLs:
1 url="$(svn info | awk '/^URL/{print $2}')"
2 committer='svn+ssh://0mp@repo'
3 anonymous='https://svn'
4
5 case $url in
6 $committer*)
7 svn relocate "$committer" "$anonymous"
8 ;;
9 $anonymous*)
10 svn relocate "$anonymous" "$committer"
11 ;;
12 esac
MateuszPiotrowski/SubversionTricks (last edited 2018-11-16T10:59:16+0000 by MateuszPiotrowski)