Subversion
- Show log history including code changes:
svn log --diff
- Revert add’ed documents:
svn revert
- List inherited svn properties (and their value):
svn proplist --show-inherited-props -v .
- svn unencrypted password caching on Linux:
Example file:/home/hub/.subversion/auth/svn.simple/65b1be3cfa4a989d76fe9c3b14b925b2
- Checkout a specific version of file (using Tortoise):
- Right click on your source file, and select “TortoiseSVN” -> “Show log”.
- Right click on a revision in the log, and select “Save revision to…”.
- Let the old revision overwrite your current file.
- Commit the overwritten source file.
- checkout:
svn co http://nwb-svn/... --username=jc
svn --non-interactive --trust-server-cert --no-auth-cache --username fred --password bert co ...
- commit:
svn commit --username jc -m"My change" scripts/compcob
Note: We don’t seem to be usingsvn propset svn:executable ON compcob
, which means executable permission is not preserved. See here - Resolving conflicts
Note: Using Tortoise “Resolve” does not commit anything. It should be enough to remove the “conflict” icon in Windows. - Creating a branch:
svn copy http://nwb-svn/mf/old/estest/trunk http://nwb-svn/mf/old/estest/branches/XXXXXXXXX -m"New branch"
Written on October 13, 2020