[SCM] Git repository for devscripts branch, master, updated. v2.11.6-21-g3dd3c84

James McCoy jamessan at debian.org
Sun May 6 16:51:05 UTC 2012


The following commit has been merged in the master branch:
commit 0332d96884cabdf6c51dd31f74500c1873edafdb
Author: James McCoy <jamessan at debian.org>
Date:   Sun May 6 12:21:06 2012 -0400

    list-unreleased: Update excluded directories to include other common VCSes.
    
    Signed-off-by: James McCoy <jamessan at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 2c8ea45..7487866 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ devscripts (2.11.7) UNRELEASED; urgency=low
     (Closes: #669579)
   * dpkg-depcheck: Match the new error message from “dpkg -S”.  Thanks to Bao
     Haojun for the patch.  (Closes: #667581)
+  * list-unreleased: Update excluded directories to include other common
+    VCSes.
 
   [ Benjamin Drung ]
   * Introduce a test suite for the scripts based on shunit2.
diff --git a/scripts/list-unreleased.sh b/scripts/list-unreleased.sh
index 825be76..fd47677 100755
--- a/scripts/list-unreleased.sh
+++ b/scripts/list-unreleased.sh
@@ -40,14 +40,15 @@ done
 
 [ "$PATHS" ] || PATHS=.
 
+vcs_dirs='(\.(svn|hg|git|bzr)|_darcs|_MTN|CVS)'
 get_list() {
 	local path="$1"
 
 	for dir in $(
 		if [ "$RECURSE" ]; then
-			find "$path" -type d | grep -v "\.svn"
+			find "$path" -type d | egrep -v "$vcs_dirs"
 		else
-			find "$path" -maxdepth 1 -type d | grep -v "\.svn"
+			find "$path" -maxdepth 1 -type d | egrep -v "$vcs_dirs"
 		fi
 	); do
 		changelog="$dir/debian/changelog"

-- 
Git repository for devscripts



More information about the Devscripts-devel mailing list