Created
May 14, 2012 09:40
-
-
Save micha149/2692968 to your computer and use it in GitHub Desktop.
Filter versioned files by their revision in svn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# svn status --verbose Lists all files and their revisions | |
# sed "s/^[^0-9]*//g" strips all status characters and spaces on the left site of the revision | |
# awk '{ print $1 }' extracts the first column | |
# sort -u consolidates the unique revisions | |
svn status --verbose | sed "s/^[^0-9]*//g" | awk '{ print $1 }' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment