- svn diff -r PREV:COMMITTED $SVN_LINK > svn.patch
- svn diff -c $REVISION_NUMBER $SVN_LINK > svn.patch
- $ svn diff -c 80580 --diff-cmd diff -x '-u -w -B -t --tabsize=4' > svg_update_hi_diff.log
apply diff file:
- patch --verbose --dry-run -p0 < svn.patch
copy local modified files
- svn status | grep -v '?' | cut -b 2- | sed -e 's,\\,/,g' | xargs -r cp --parents -t ../patch_0427_release_merge/
retrieve modified files in a commit:
- svn update -r PREV
- svn update -r HEAD | sed 's,\\,/,g' | cut -b 2- | xargs -r cp --parents -t $DEST
show the latest n svn commit log:
- svn log -l n -v
沒有留言:
張貼留言