Skip to content

Instantly share code, notes, and snippets.

@qnoid
Created August 1, 2012 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qnoid/3228295 to your computer and use it in GitHub Desktop.
Save qnoid/3228295 to your computer and use it in GitHub Desktop.
Generate sane changelog between revisions
# show the log between two revisions | sort unique to remove all but one blank and '---' lines | awk to NOT match any lines starting with rXXXXX denoting revision information
#$1, $2 range revision arguments
#!/usr/bin/env bash
svn log -r $1:$2 | sort -u | awk '!/(^r[0-9]*)/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment