From 9c0f737dd8f54796cefb51f28e903de121712106 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jun 03 2011 03:46:06 +0000 Subject: Update cli_getRepoStatus.sh. --- diff --git a/Scripts/Functions/cli_getRepoStatus.sh b/Scripts/Functions/cli_getRepoStatus.sh index 066320e..2f77876 100755 --- a/Scripts/Functions/cli_getRepoStatus.sh +++ b/Scripts/Functions/cli_getRepoStatus.sh @@ -33,10 +33,10 @@ function cli_getRepoStatus { # Define regular expression pattern to retrive first column, # returned by subversion status command. This column is one # character column as describes `svn help status' command. - local PATTERN='^( |A|C|D|I|M|R|X|\?|!|~).+$' + local PATTERN='^( |A|C|D|I|M|R|X|!|~).+$' # Output status. Use subversion `status' command to retrive the # first character in the output. - svn status "$LOCATION" | sed -r "s/${PATTERN}/\1/" + svn status "$LOCATION" --quiet | sed -r "s/${PATTERN}/\1/" }